Official Facebook Pixel - Version 1.7.17

Version Description

Download this release

Release Info

Developer Facebook
Plugin Icon Official Facebook Pixel
Version 1.7.17
Comparing to
See all releases

Code changes from version 1.7.16 to 1.7.17

Files changed (84) hide show
  1. CODE_OF_CONDUCT.md +5 -0
  2. CONTRIBUTING.md +65 -0
  3. FacebookForWordpress.php +73 -0
  4. LICENSE +339 -0
  5. changelog.txt +41 -0
  6. composer.json +25 -0
  7. composer.lock +1857 -0
  8. core/FacebookPixel.php +240 -0
  9. core/FacebookPluginConfig.php +52 -0
  10. core/FacebookPluginUtils.php +37 -0
  11. core/FacebookWordpressOptions.php +106 -0
  12. core/FacebookWordpressPixelInjection.php +62 -0
  13. core/FacebookWordpressSettingsPage.php +238 -0
  14. css/admin.css +11 -0
  15. facebook-pixel-for-wordpress-1.7.16.zip +0 -0
  16. integration/FacebookWordpressContactForm7.php +66 -0
  17. integration/FacebookWordpressEasyDigitalDownloads.php +225 -0
  18. integration/FacebookWordpressIntegrationBase.php +32 -0
  19. integration/FacebookWordpressNinjaForms.php +85 -0
  20. integration/FacebookWordpressWPForms.php +73 -0
  21. languages/official-facebook-pixel-ar_AR.mo +0 -0
  22. languages/official-facebook-pixel-ar_AR.po +85 -0
  23. languages/official-facebook-pixel-cs_CZ.mo +0 -0
  24. languages/official-facebook-pixel-cs_CZ.po +85 -0
  25. languages/official-facebook-pixel-da_DK.mo +0 -0
  26. languages/official-facebook-pixel-da_DK.po +87 -0
  27. languages/official-facebook-pixel-de_DE.mo +0 -0
  28. languages/official-facebook-pixel-de_DE.po +89 -0
  29. languages/official-facebook-pixel-en_GB.mo +0 -0
  30. languages/official-facebook-pixel-en_GB.po +86 -0
  31. languages/official-facebook-pixel-es_ES.mo +0 -0
  32. languages/official-facebook-pixel-es_ES.po +89 -0
  33. languages/official-facebook-pixel-es_LA.mo +0 -0
  34. languages/official-facebook-pixel-es_LA.po +87 -0
  35. languages/official-facebook-pixel-fi_FI.mo +0 -0
  36. languages/official-facebook-pixel-fi_FI.po +87 -0
  37. languages/official-facebook-pixel-fr_CA.mo +0 -0
  38. languages/official-facebook-pixel-fr_CA.po +89 -0
  39. languages/official-facebook-pixel-fr_FR.mo +0 -0
  40. languages/official-facebook-pixel-fr_FR.po +90 -0
  41. languages/official-facebook-pixel-he_IL.mo +0 -0
  42. languages/official-facebook-pixel-he_IL.po +84 -0
  43. languages/official-facebook-pixel-it_IT.mo +0 -0
  44. languages/official-facebook-pixel-it_IT.po +89 -0
  45. languages/official-facebook-pixel-ja_JP.mo +0 -0
  46. languages/official-facebook-pixel-ja_JP.po +85 -0
  47. languages/official-facebook-pixel-ko_KR.mo +0 -0
  48. languages/official-facebook-pixel-ko_KR.po +84 -0
  49. languages/official-facebook-pixel-nb_NO.mo +0 -0
  50. languages/official-facebook-pixel-nb_NO.po +87 -0
  51. languages/official-facebook-pixel-nl_NL.mo +0 -0
  52. languages/official-facebook-pixel-nl_NL.po +88 -0
  53. languages/official-facebook-pixel-pl_PL.mo +0 -0
  54. languages/official-facebook-pixel-pl_PL.po +88 -0
  55. languages/official-facebook-pixel-pt_BR.mo +0 -0
  56. languages/official-facebook-pixel-pt_BR.po +86 -0
  57. languages/official-facebook-pixel-pt_PT.mo +0 -0
  58. languages/official-facebook-pixel-pt_PT.po +86 -0
  59. languages/official-facebook-pixel-ru_RU.mo +0 -0
  60. languages/official-facebook-pixel-ru_RU.po +84 -0
  61. languages/official-facebook-pixel-sv_SE.mo +0 -0
  62. languages/official-facebook-pixel-sv_SE.po +85 -0
  63. languages/official-facebook-pixel-th_TH.mo +0 -0
  64. languages/official-facebook-pixel-th_TH.po +78 -0
  65. languages/official-facebook-pixel-tr_TR.mo +0 -0
  66. languages/official-facebook-pixel-tr_TR.po +88 -0
  67. languages/official-facebook-pixel-vi_VN.mo +0 -0
  68. languages/official-facebook-pixel-vi_VN.po +87 -0
  69. languages/official-facebook-pixel-zh_CN.mo +0 -0
  70. languages/official-facebook-pixel-zh_CN.po +80 -0
  71. languages/official-facebook-pixel-zh_TW.mo +0 -0
  72. languages/official-facebook-pixel-zh_TW.po +83 -0
  73. languages/official-facebook-pixel.pot +74 -0
  74. readme.txt +48 -0
  75. uninstall.php +30 -0
  76. vendor/autoload.php +7 -0
  77. vendor/composer/ClassLoader.php +445 -0
  78. vendor/composer/LICENSE +21 -0
  79. vendor/composer/autoload_classmap.php +9 -0
  80. vendor/composer/autoload_namespaces.php +9 -0
  81. vendor/composer/autoload_psr4.php +12 -0
  82. vendor/composer/autoload_real.php +52 -0
  83. vendor/composer/autoload_static.php +41 -0
  84. vendor/composer/installed.json +1 -0
CODE_OF_CONDUCT.md ADDED
@@ -0,0 +1,5 @@
1
+ # Code of Conduct
2
+
3
+ Facebook has adopted a Code of Conduct that we expect project participants to adhere to.
4
+ Please read the [full text](https://code.fb.com/codeofconduct/)
5
+ so that you can understand what actions will and will not be tolerated.
CONTRIBUTING.md ADDED
@@ -0,0 +1,65 @@
1
+ # Contributing to Facebook for WordPress
2
+ We want to make contributing to this project as easy and transparent as
3
+ possible.
4
+
5
+ ## Pull Requests
6
+ We actively welcome your pull requests.
7
+
8
+ 1. Fork the repo and create your branch from `master`.
9
+ 2. If you've added code that should be tested, add tests.
10
+ 3. If you've changed APIs, update the documentation.
11
+ 4. Make sure your code lints.
12
+ 5. If you haven't already, complete the Contributor License Agreement ("CLA").
13
+
14
+ ### Get started
15
+
16
+ Clone this repo with the following command:
17
+
18
+ `$ git clone https://github.com/facebookincubator/facebook-pixel-for-wordpress.git`
19
+
20
+ Initiate the development environment:
21
+
22
+ 1. Install Composer
23
+ 2. Run the command to install the necessary package: `$ composer install`
24
+
25
+ Build the project and create the zip
26
+ Run the command to run tests and create the zip under build directory.
27
+
28
+ `$ vendor/bin/phing`
29
+
30
+ ### How to integrate your plugins
31
+
32
+ 1. Add your integration class under `integration/` folder
33
+ 2. Extend the class from `FacebookWordpressIntegrationBase`
34
+ 3. Define class variable `PLUGIN_FILE` to be your plugin PHP file
35
+ 4. Define class variable `TRACKING_NAME` for tracking purpose, put this value under 'fb_wp_tracking' as a parameter in the pixel event
36
+ 5. Define a public static function `injectPixelCode()` to inject pixel at your page
37
+ 6. Add your unit test class under `tests/` folder
38
+ 7. Extend the test class from `FacebookWordpressTestBase`
39
+ 8. After the classes development, run tests by `$ vendor/bin/phing`
40
+
41
+ You can reference to integration/FacebookWordpressContactForm7.php and tests/FacebookWordpressContactForm7Test.php as an example
42
+
43
+
44
+ ## Contributor License Agreement ("CLA")
45
+ In order to accept your pull request, we need you to submit a CLA. You only need
46
+ to do this once to work on any of Facebook's open source projects.
47
+
48
+ Complete your CLA here: <https://code.facebook.com/cla>
49
+
50
+ ## Issues
51
+ We use GitHub issues to track public bugs. Please ensure your description is
52
+ clear and has sufficient instructions to be able to reproduce the issue.
53
+
54
+ Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
55
+ disclosure of security bugs. In those cases, please go through the process
56
+ outlined on that page and do not file a public issue.
57
+
58
+ ## Coding Style
59
+ * 4 spaces for indentation rather than tabs
60
+ * 80 character line length
61
+
62
+ ## License
63
+ By contributing to Facebook for Wordpress, you agree that your contributions
64
+ will be licensed under the LICENSE file in the root directory of
65
+ this source tree.
FacebookForWordpress.php ADDED
@@ -0,0 +1,73 @@
1
+ <?php
2
+ /**
3
+ * Plugin Name: Official Facebook Pixel
4
+ * Plugin URI: https://www.facebook.com/business/help/881403525362441
5
+ * Description: The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
6
+ * Author: Facebook
7
+ * Author URI: https://www.facebook.com/
8
+ * Version: 1.7.17
9
+ * Text Domain: official-facebook-pixel
10
+ */
11
+
12
+ /*
13
+ * Copyright (C) 2017-present, Facebook, Inc.
14
+ *
15
+ * This program is free software; you can redistribute it and/or modify
16
+ * it under the terms of the GNU General Public License as published by
17
+ * the Free Software Foundation; version 2 of the License.
18
+ * This program is distributed in the hope that it will be useful,
19
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
+ * GNU General Public License for more details.
22
+ */
23
+
24
+ /**
25
+ * @package FacebookPixelPlugin
26
+ */
27
+
28
+ namespace FacebookPixelPlugin;
29
+
30
+ defined('ABSPATH') or die('Direct access not allowed');
31
+
32
+ require_once plugin_dir_path(__FILE__).'vendor/autoload.php';
33
+
34
+ use FacebookPixelPlugin\Core\FacebookPixel;
35
+ use FacebookPixelPlugin\Core\FacebookWordpressOptions;
36
+ use FacebookPixelPlugin\Core\FacebookWordpressPixelInjection;
37
+ use FacebookPixelPlugin\Core\FacebookWordpressSettingsPage;
38
+
39
+ class FacebookForWordpress {
40
+ public function __construct() {
41
+ // initialize options
42
+ FacebookWordpressOptions::initialize();
43
+
44
+ // initialize pixel
45
+ $options = FacebookWordpressOptions::getOptions();
46
+ FacebookPixel::initialize(FacebookWordpressOptions::getPixelId());
47
+
48
+ // Register WordPress pixel injection controlling where to fire pixel
49
+ add_action('init', array($this, 'registerPixelInjection'), 0);
50
+
51
+ // initialize admin page config
52
+ $this->registerSettingsPage();
53
+ }
54
+
55
+ /**
56
+ * Helper function for registering pixel injection.
57
+ */
58
+ public function registerPixelInjection() {
59
+ return new FacebookWordpressPixelInjection();
60
+ }
61
+
62
+ /**
63
+ * Helper function for registering the settings page.
64
+ */
65
+ public function registerSettingsPage() {
66
+ if (is_admin()) {
67
+ $plugin_name = plugin_basename(__FILE__);
68
+ new FacebookWordpressSettingsPage($plugin_name);
69
+ }
70
+ }
71
+ }
72
+
73
+ $WP_FacebookForWordpress = new FacebookForWordpress();
LICENSE ADDED
@@ -0,0 +1,339 @@
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License along
307
+ with this program; if not, write to the Free Software Foundation, Inc.,
308
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) year name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ <signature of Ty Coon>, 1 April 1989
333
+ Ty Coon, President of Vice
334
+
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Lesser General
339
+ Public License instead of this License.
changelog.txt ADDED
@@ -0,0 +1,41 @@
1
+ *** Facebook for WordPress Changelog ***
2
+ 2018-11-09 version 1.7.17
3
+ * Fix Lead event
4
+
5
+ 2018-11-02 version 1.7.16
6
+ * Fix advance matching
7
+
8
+ 2018-10-29 version 1.7.15
9
+ * Add tracking
10
+
11
+ 2018-07-06 version 1.7.14
12
+ * Add language files
13
+
14
+ 2018-07-06 version 1.7.13
15
+ * Add Ninja Forms
16
+
17
+ 2018-07-06 version 1.7.12
18
+ * Add WPForms
19
+
20
+ 2018-07-06 version 1.7.11
21
+ * Add Easy-Digital-Download
22
+
23
+ 2018-07-06 version 1.7.10
24
+ * Code Refactor
25
+
26
+ 2018-07-06 version 1.7.9
27
+ * Added Lead event for Contact Form 7.
28
+
29
+ 2018-03-28 version 1.7.7
30
+ * Removed unused code that was previously used by WooCommerce plugin.
31
+ * Added DB cleanup on uninstall.
32
+ * Added pot file for i18n.
33
+
34
+ 2018-01-03 version 1.7.6
35
+ * WordPress only plugin notice on missing Pixel ID.
36
+ * WordPress only plugin direct link to settings page from plugin page.
37
+
38
+ 2017-09-05 version 1.5.0
39
+ * Added support for generic WordPress installations (without WooCommerce)
40
+ * Added Search events
41
+ * Setting page for Pixel ID and for enabling advanced measurement
composer.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "facebook/pixel-for-wordpress",
3
+ "description": "Facebook Pixel plugins for wordpress",
4
+ "type": "project",
5
+ "require-dev": {
6
+ "phpunit/phpunit": "^6.5",
7
+ "phing/phing": "3.0.0-alpha1"
8
+ },
9
+ "license": "GPL",
10
+ "require": {
11
+ },
12
+ "autoload": {
13
+ "psr-4": {
14
+ "FacebookPixelPlugin\\":"./",
15
+ "FacebookPixelPlugin\\Core\\":"core/",
16
+ "FacebookPixelPlugin\\Integration\\":"integration/"
17
+ }
18
+ },
19
+ "autoload-dev": {
20
+ "classmap": [
21
+ "tests/",
22
+ "./"
23
+ ]
24
+ }
25
+ }
composer.lock ADDED
@@ -0,0 +1,1857 @@
1
+ {
2
+ "_readme": [
3
+ "This file locks the dependencies of your project to a known state",
4
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
+ "This file is @generated automatically"
6
+ ],
7
+ "content-hash": "21060f74d8656f290b86dce17ccbd6bb",
8
+ "packages": [],
9
+ "packages-dev": [
10
+ {
11
+ "name": "doctrine/instantiator",
12
+ "version": "1.1.0",
13
+ "source": {
14
+ "type": "git",
15
+ "url": "https://github.com/doctrine/instantiator.git",
16
+ "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
17
+ },
18
+ "dist": {
19
+ "type": "zip",
20
+ "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
21
+ "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
22
+ "shasum": ""
23
+ },
24
+ "require": {
25
+ "php": "^7.1"
26
+ },
27
+ "require-dev": {
28
+ "athletic/athletic": "~0.1.8",
29
+ "ext-pdo": "*",
30
+ "ext-phar": "*",
31
+ "phpunit/phpunit": "^6.2.3",
32
+ "squizlabs/php_codesniffer": "^3.0.2"
33
+ },
34
+ "type": "library",
35
+ "extra": {
36
+ "branch-alias": {
37
+ "dev-master": "1.2.x-dev"
38
+ }
39
+ },
40
+ "autoload": {
41
+ "psr-4": {
42
+ "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
43
+ }
44
+ },
45
+ "notification-url": "https://packagist.org/downloads/",
46
+ "license": [
47
+ "MIT"
48
+ ],
49
+ "authors": [
50
+ {
51
+ "name": "Marco Pivetta",
52
+ "email": "ocramius@gmail.com",
53
+ "homepage": "http://ocramius.github.com/"
54
+ }
55
+ ],
56
+ "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
57
+ "homepage": "https://github.com/doctrine/instantiator",
58
+ "keywords": [
59
+ "constructor",
60
+ "instantiate"
61
+ ],
62
+ "time": "2017-07-22T11:58:36+00:00"
63
+ },
64
+ {
65
+ "name": "mehr-als-nix/parallel",
66
+ "version": "v1.0.0",
67
+ "source": {
68
+ "type": "git",
69
+ "url": "https://github.com/MehrAlsNix/Parallel.git",
70
+ "reference": "14a71eb1a8f851108bed4a5b32d1c1027976e8f3"
71
+ },
72
+ "dist": {
73
+ "type": "zip",
74
+ "url": "https://api.github.com/repos/MehrAlsNix/Parallel/zipball/14a71eb1a8f851108bed4a5b32d1c1027976e8f3",
75
+ "reference": "14a71eb1a8f851108bed4a5b32d1c1027976e8f3",
76
+ "shasum": ""
77
+ },
78
+ "require-dev": {
79
+ "phpunit/phpunit": "^6.5"
80
+ },
81
+ "type": "library",
82
+ "autoload": {
83
+ "psr-4": {
84
+ "MehrAlsNix\\Parallel\\": "src"
85
+ }
86
+ },
87
+ "notification-url": "https://packagist.org/downloads/",
88
+ "license": [
89
+ "MIT"
90
+ ],
91
+ "authors": [
92
+ {
93
+ "name": "siad007",
94
+ "email": "siad.ardroumli@gmail.com"
95
+ }
96
+ ],
97
+ "description": "This package is a port of PhpDumentor/Parallel",
98
+ "time": "2017-12-10T12:33:51+00:00"
99
+ },
100
+ {
101
+ "name": "myclabs/deep-copy",
102
+ "version": "1.8.1",
103
+ "source": {
104
+ "type": "git",
105
+ "url": "https://github.com/myclabs/DeepCopy.git",
106
+ "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
107
+ },
108
+ "dist": {
109
+ "type": "zip",
110
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
111
+ "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
112
+ "shasum": ""
113
+ },
114
+ "require": {
115
+ "php": "^7.1"
116
+ },
117
+ "replace": {
118
+ "myclabs/deep-copy": "self.version"
119
+ },
120
+ "require-dev": {
121
+ "doctrine/collections": "^1.0",
122
+ "doctrine/common": "^2.6",
123
+ "phpunit/phpunit": "^7.1"
124
+ },
125
+ "type": "library",
126
+ "autoload": {
127
+ "psr-4": {
128
+ "DeepCopy\\": "src/DeepCopy/"
129
+ },
130
+ "files": [
131
+ "src/DeepCopy/deep_copy.php"
132
+ ]
133
+ },
134
+ "notification-url": "https://packagist.org/downloads/",
135
+ "license": [
136
+ "MIT"
137
+ ],
138
+ "description": "Create deep copies (clones) of your objects",
139
+ "keywords": [
140
+ "clone",
141
+ "copy",
142
+ "duplicate",
143
+ "object",
144
+ "object graph"
145
+ ],
146
+ "time": "2018-06-11T23:09:50+00:00"
147
+ },
148
+ {
149
+ "name": "phar-io/manifest",
150
+ "version": "1.0.1",
151
+ "source": {
152
+ "type": "git",
153
+ "url": "https://github.com/phar-io/manifest.git",
154
+ "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0"
155
+ },
156
+ "dist": {
157
+ "type": "zip",
158
+ "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0",
159
+ "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0",
160
+ "shasum": ""
161
+ },
162
+ "require": {
163
+ "ext-dom": "*",
164
+ "ext-phar": "*",
165
+ "phar-io/version": "^1.0.1",
166
+ "php": "^5.6 || ^7.0"
167
+ },
168
+ "type": "library",
169
+ "extra": {
170
+ "branch-alias": {
171
+ "dev-master": "1.0.x-dev"
172
+ }
173
+ },
174
+ "autoload": {
175
+ "classmap": [
176
+ "src/"
177
+ ]
178
+ },
179
+ "notification-url": "https://packagist.org/downloads/",
180
+ "license": [
181
+ "BSD-3-Clause"
182
+ ],
183
+ "authors": [
184
+ {
185
+ "name": "Arne Blankerts",
186
+ "email": "arne@blankerts.de",
187
+ "role": "Developer"
188
+ },
189
+ {
190
+ "name": "Sebastian Heuer",
191
+ "email": "sebastian@phpeople.de",
192
+ "role": "Developer"
193
+ },
194
+ {
195
+ "name": "Sebastian Bergmann",
196
+ "email": "sebastian@phpunit.de",
197
+ "role": "Developer"
198
+ }
199
+ ],
200
+ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
201
+ "time": "2017-03-05T18:14:27+00:00"
202
+ },
203
+ {
204
+ "name": "phar-io/version",
205
+ "version": "1.0.1",
206
+ "source": {
207
+ "type": "git",
208
+ "url": "https://github.com/phar-io/version.git",
209
+ "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df"
210
+ },
211
+ "dist": {
212
+ "type": "zip",
213
+ "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df",
214
+ "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df",
215
+ "shasum": ""
216
+ },
217
+ "require": {
218
+ "php": "^5.6 || ^7.0"
219
+ },
220
+ "type": "library",
221
+ "autoload": {
222
+ "classmap": [
223
+ "src/"
224
+ ]
225
+ },
226
+ "notification-url": "https://packagist.org/downloads/",
227
+ "license": [
228
+ "BSD-3-Clause"
229
+ ],
230
+ "authors": [
231
+ {
232
+ "name": "Arne Blankerts",
233
+ "email": "arne@blankerts.de",
234
+ "role": "Developer"
235
+ },
236
+ {
237
+ "name": "Sebastian Heuer",
238
+ "email": "sebastian@phpeople.de",
239
+ "role": "Developer"
240
+ },
241
+ {
242
+ "name": "Sebastian Bergmann",
243
+ "email": "sebastian@phpunit.de",
244
+ "role": "Developer"
245
+ }
246
+ ],
247
+ "description": "Library for handling version information and constraints",
248
+ "time": "2017-03-05T17:38:23+00:00"
249
+ },
250
+ {
251
+ "name": "phing/phing",
252
+ "version": "3.0.0-alpha1",
253
+ "source": {
254
+ "type": "git",
255
+ "url": "https://github.com/phingofficial/phing.git",
256
+ "reference": "2419a2a73df176cd5120661a517041f4d5094df0"
257
+ },
258
+ "dist": {
259
+ "type": "zip",
260
+ "url": "https://api.github.com/repos/phingofficial/phing/zipball/2419a2a73df176cd5120661a517041f4d5094df0",
261
+ "reference": "2419a2a73df176cd5120661a517041f4d5094df0",
262
+ "shasum": ""
263
+ },
264
+ "require": {
265
+ "mehr-als-nix/parallel": "^v1.0",
266
+ "php": ">=7.1",
267
+ "sebastian/version": "^2.0",
268
+ "symfony/console": "^2.8 || ^3.0 || ^4.0",
269
+ "symfony/yaml": "^2.8 || ^3.1 || ^4.0"
270
+ },
271
+ "require-dev": {
272
+ "aws/aws-sdk-php": "^3.32",
273
+ "ext-pdo_sqlite": "*",
274
+ "mikey179/vfsstream": "^1.6",
275
+ "pdepend/pdepend": "2.x",
276
+ "pear/archive_tar": "1.4.x",
277
+ "pear/http_request2": "dev-trunk",
278
+ "pear/net_growl": "dev-trunk",
279
+ "pear/pear-core-minimal": "1.10.3",
280
+ "pear/versioncontrol_git": "@dev",
281
+ "pear/versioncontrol_svn": "~0.5",
282
+ "phpdocumentor/phpdocumentor": "2.x",
283
+ "phploc/phploc": "^4.0",
284
+ "phpmd/phpmd": "~2.2",
285
+ "phpunit/phpunit": "^6.5",
286
+ "sebastian/phpcpd": "^3.0",
287
+ "siad007/versioncontrol_hg": "^1.0",
288
+ "squizlabs/php_codesniffer": "~2.2"
289
+ },
290
+ "suggest": {
291
+ "aws/aws-sdk-php": "AWS SDK used by S3*Tasks",
292
+ "pdepend/pdepend": "PHP version of JDepend",
293
+ "pear/archive_tar": "Tar file management class",
294
+ "pear/versioncontrol_git": "A library that provides OO interface to handle Git repository",
295
+ "pear/versioncontrol_svn": "A simple OO-style interface for Subversion, the free/open-source version control system",
296
+ "phpdocumentor/phpdocumentor": "Documentation Generator for PHP",
297
+ "phploc/phploc": "A tool for quickly measuring the size of a PHP project",
298
+ "phpmd/phpmd": "PHP version of PMD tool",
299
+ "phpunit/php-code-coverage": "Library that provides collection, processing, and rendering functionality for PHP code coverage information",
300
+ "phpunit/phpunit": "The PHP Unit Testing Framework",
301
+ "sebastian/phpcpd": "Copy/Paste Detector (CPD) for PHP code",
302
+ "siad007/versioncontrol_hg": "A library for interfacing with Mercurial repositories.",
303
+ "symfony/stopwatch": "Needed by the StopwatchTask",
304
+ "tedivm/jshrink": "Javascript Minifier built in PHP"
305
+ },
306
+ "bin": [
307
+ "bin/phing"
308
+ ],
309
+ "type": "library",
310
+ "extra": {
311
+ "branch-alias": {
312
+ "dev-master": "3.0.x-dev"
313
+ }
314
+ },
315
+ "autoload": {
316
+ "classmap": [
317
+ "classes/phing/"
318
+ ]
319
+ },
320
+ "notification-url": "https://packagist.org/downloads/",
321
+ "include-path": [
322
+ "classes"
323
+ ],
324
+ "license": [
325
+ "LGPL-3.0-only"
326
+ ],
327
+ "authors": [
328
+ {
329
+ "name": "Michiel Rook",
330
+ "email": "mrook@php.net"
331
+ },
332
+ {
333
+ "name": "Phing Community",
334
+ "homepage": "https://github.com/phingofficial/phing/blob/master/CREDITS.md"
335
+ }
336
+ ],
337
+ "description": "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.",
338
+ "homepage": "https://www.phing.info/",
339
+ "keywords": [
340
+ "build",
341
+ "phing",
342
+ "task",
343
+ "tool"
344
+ ],
345
+ "time": "2018-03-23T09:07:02+00:00"
346
+ },
347
+ {
348
+ "name": "phpdocumentor/reflection-common",
349
+ "version": "1.0.1",
350
+ "source": {
351
+ "type": "git",
352
+ "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
353
+ "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
354
+ },
355
+ "dist": {
356
+ "type": "zip",
357
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
358
+ "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
359
+ "shasum": ""
360
+ },
361
+ "require": {
362
+ "php": ">=5.5"
363
+ },
364
+ "require-dev": {
365
+ "phpunit/phpunit": "^4.6"
366
+ },
367
+ "type": "library",
368
+ "extra": {
369
+ "branch-alias": {
370
+ "dev-master": "1.0.x-dev"
371
+ }
372
+ },
373
+ "autoload": {
374
+ "psr-4": {
375
+ "phpDocumentor\\Reflection\\": [
376
+ "src"
377
+ ]
378
+ }
379
+ },
380
+ "notification-url": "https://packagist.org/downloads/",
381
+ "license": [
382
+ "MIT"
383
+ ],
384
+ "authors": [
385
+ {
386
+ "name": "Jaap van Otterdijk",
387
+ "email": "opensource@ijaap.nl"
388
+ }
389
+ ],
390
+ "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
391
+ "homepage": "http://www.phpdoc.org",
392
+ "keywords": [
393
+ "FQSEN",
394
+ "phpDocumentor",
395
+ "phpdoc",
396
+ "reflection",
397
+ "static analysis"
398
+ ],
399
+ "time": "2017-09-11T18:02:19+00:00"
400
+ },
401
+ {
402
+ "name": "phpdocumentor/reflection-docblock",
403
+ "version": "4.3.0",
404
+ "source": {
405
+ "type": "git",
406
+ "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
407
+ "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
408
+ },
409
+ "dist": {
410
+ "type": "zip",
411
+ "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
412
+ "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
413
+ "shasum": ""
414
+ },
415
+ "require": {
416
+ "php": "^7.0",
417
+ "phpdocumentor/reflection-common": "^1.0.0",
418
+ "phpdocumentor/type-resolver": "^0.4.0",
419
+ "webmozart/assert": "^1.0"
420
+ },
421
+ "require-dev": {
422
+ "doctrine/instantiator": "~1.0.5",
423
+ "mockery/mockery": "^1.0",
424
+ "phpunit/phpunit": "^6.4"
425
+ },
426
+ "type": "library",
427
+ "extra": {
428
+ "branch-alias": {
429
+ "dev-master": "4.x-dev"
430
+ }
431
+ },
432
+ "autoload": {
433
+ "psr-4": {
434
+ "phpDocumentor\\Reflection\\": [
435
+ "src/"
436
+ ]
437
+ }
438
+ },
439
+ "notification-url": "https://packagist.org/downloads/",
440
+ "license": [
441
+ "MIT"
442
+ ],
443
+ "authors": [
444
+ {
445
+ "name": "Mike van Riel",
446
+ "email": "me@mikevanriel.com"
447
+ }
448
+ ],
449
+ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
450
+ "time": "2017-11-30T07:14:17+00:00"
451
+ },
452
+ {
453
+ "name": "phpdocumentor/type-resolver",
454
+ "version": "0.4.0",
455
+ "source": {
456
+ "type": "git",
457
+ "url": "https://github.com/phpDocumentor/TypeResolver.git",
458
+ "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
459
+ },
460
+ "dist": {
461
+ "type": "zip",
462
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
463
+ "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
464
+ "shasum": ""
465
+ },
466
+ "require": {
467
+ "php": "^5.5 || ^7.0",
468
+ "phpdocumentor/reflection-common": "^1.0"
469
+ },
470
+ "require-dev": {
471
+ "mockery/mockery": "^0.9.4",
472
+ "phpunit/phpunit": "^5.2||^4.8.24"
473
+ },
474
+ "type": "library",
475
+ "extra": {
476
+ "branch-alias": {
477
+ "dev-master": "1.0.x-dev"
478
+ }
479
+ },
480
+ "autoload": {
481
+ "psr-4": {
482
+ "phpDocumentor\\Reflection\\": [
483
+ "src/"
484
+ ]
485
+ }
486
+ },
487
+ "notification-url": "https://packagist.org/downloads/",
488
+ "license": [
489
+ "MIT"
490
+ ],
491
+ "authors": [
492
+ {
493
+ "name": "Mike van Riel",
494
+ "email": "me@mikevanriel.com"
495
+ }
496
+ ],
497
+ "time": "2017-07-14T14:27:02+00:00"
498
+ },
499
+ {
500
+ "name": "phpspec/prophecy",
501
+ "version": "1.8.0",
502
+ "source": {
503
+ "type": "git",
504
+ "url": "https://github.com/phpspec/prophecy.git",
505
+ "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
506
+ },
507
+ "dist": {
508
+ "type": "zip",
509
+ "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
510
+ "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
511
+ "shasum": ""
512
+ },
513
+ "require": {
514
+ "doctrine/instantiator": "^1.0.2",
515
+ "php": "^5.3|^7.0",
516
+ "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
517
+ "sebastian/comparator": "^1.1|^2.0|^3.0",
518
+ "sebastian/recursion-context": "^1.0|^2.0|^3.0"
519
+ },
520
+ "require-dev": {
521
+ "phpspec/phpspec": "^2.5|^3.2",
522
+ "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
523
+ },
524
+ "type": "library",
525
+ "extra": {
526
+ "branch-alias": {
527
+ "dev-master": "1.8.x-dev"
528
+ }
529
+ },
530
+ "autoload": {
531
+ "psr-0": {
532
+ "Prophecy\\": "src/"
533
+ }
534
+ },
535
+ "notification-url": "https://packagist.org/downloads/",
536
+ "license": [
537
+ "MIT"
538
+ ],
539
+ "authors": [
540
+ {
541
+ "name": "Konstantin Kudryashov",
542
+ "email": "ever.zet@gmail.com",
543
+ "homepage": "http://everzet.com"
544
+ },
545
+ {
546
+ "name": "Marcello Duarte",
547
+ "email": "marcello.duarte@gmail.com"
548
+ }
549
+ ],
550
+ "description": "Highly opinionated mocking framework for PHP 5.3+",
551
+ "homepage": "https://github.com/phpspec/prophecy",
552
+ "keywords": [
553
+ "Double",
554
+ "Dummy",
555
+ "fake",
556
+ "mock",
557
+ "spy",
558
+ "stub"
559
+ ],
560
+ "time": "2018-08-05T17:53:17+00:00"
561
+ },
562
+ {
563
+ "name": "phpunit/php-code-coverage",
564
+ "version": "5.3.2",
565
+ "source": {
566
+ "type": "git",
567
+ "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
568
+ "reference": "c89677919c5dd6d3b3852f230a663118762218ac"
569
+ },
570
+ "dist": {
571
+ "type": "zip",
572
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c89677919c5dd6d3b3852f230a663118762218ac",
573
+ "reference": "c89677919c5dd6d3b3852f230a663118762218ac",
574
+ "shasum": ""
575
+ },
576
+ "require": {
577
+ "ext-dom": "*",
578
+ "ext-xmlwriter": "*",
579
+ "php": "^7.0",
580
+ "phpunit/php-file-iterator": "^1.4.2",
581
+ "phpunit/php-text-template": "^1.2.1",
582
+ "phpunit/php-token-stream": "^2.0.1",
583
+ "sebastian/code-unit-reverse-lookup": "^1.0.1",
584
+ "sebastian/environment": "^3.0",
585
+ "sebastian/version": "^2.0.1",
586
+ "theseer/tokenizer": "^1.1"
587
+ },
588
+ "require-dev": {
589
+ "phpunit/phpunit": "^6.0"
590
+ },
591
+ "suggest": {
592
+ "ext-xdebug": "^2.5.5"
593
+ },
594
+ "type": "library",
595
+ "extra": {
596
+ "branch-alias": {
597
+ "dev-master": "5.3.x-dev"
598
+ }
599
+ },
600
+ "autoload": {
601
+ "classmap": [
602
+ "src/"
603
+ ]
604
+ },
605
+ "notification-url": "https://packagist.org/downloads/",
606
+ "license": [
607
+ "BSD-3-Clause"
608
+ ],
609
+ "authors": [
610
+ {
611
+ "name": "Sebastian Bergmann",
612
+ "email": "sebastian@phpunit.de",
613
+ "role": "lead"
614
+ }
615
+ ],
616
+ "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
617
+ "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
618
+ "keywords": [
619
+ "coverage",
620
+ "testing",
621
+ "xunit"
622
+ ],
623
+ "time": "2018-04-06T15:36:58+00:00"
624
+ },
625
+ {
626
+ "name": "phpunit/php-file-iterator",
627
+ "version": "1.4.5",
628
+ "source": {
629
+ "type": "git",
630
+ "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
631
+ "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4"
632
+ },
633
+ "dist": {
634
+ "type": "zip",
635
+ "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4",
636
+ "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4",
637
+ "shasum": ""
638
+ },
639
+ "require": {
640
+ "php": ">=5.3.3"
641
+ },
642
+ "type": "library",
643
+ "extra": {
644
+ "branch-alias": {
645
+ "dev-master": "1.4.x-dev"
646
+ }
647
+ },
648
+ "autoload": {
649
+ "classmap": [
650
+ "src/"
651
+ ]
652
+ },
653
+ "notification-url": "https://packagist.org/downloads/",
654
+ "license": [
655
+ "BSD-3-Clause"
656
+ ],
657
+ "authors": [
658
+ {
659
+ "name": "Sebastian Bergmann",
660
+ "email": "sb@sebastian-bergmann.de",
661
+ "role": "lead"
662
+ }
663
+ ],
664
+ "description": "FilterIterator implementation that filters files based on a list of suffixes.",
665
+ "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
666
+ "keywords": [
667
+ "filesystem",
668
+ "iterator"
669
+ ],
670
+ "time": "2017-11-27T13:52:08+00:00"
671
+ },
672
+ {
673
+ "name": "phpunit/php-text-template",
674
+ "version": "1.2.1",
675
+ "source": {
676
+ "type": "git",
677
+ "url": "https://github.com/sebastianbergmann/php-text-template.git",
678
+ "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
679
+ },
680
+ "dist": {
681
+ "type": "zip",
682
+ "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
683
+ "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
684
+ "shasum": ""
685
+ },
686
+ "require": {
687
+ "php": ">=5.3.3"
688
+ },
689
+ "type": "library",
690
+ "autoload": {
691
+ "classmap": [
692
+ "src/"
693
+ ]
694
+ },
695
+ "notification-url": "https://packagist.org/downloads/",
696
+ "license": [
697
+ "BSD-3-Clause"
698
+ ],
699
+ "authors": [
700
+ {
701
+ "name": "Sebastian Bergmann",
702
+ "email": "sebastian@phpunit.de",
703
+ "role": "lead"
704
+ }
705
+ ],
706
+ "description": "Simple template engine.",
707
+ "homepage": "https://github.com/sebastianbergmann/php-text-template/",
708
+ "keywords": [
709
+ "template"
710
+ ],
711
+ "time": "2015-06-21T13:50:34+00:00"
712
+ },
713
+ {
714
+ "name": "phpunit/php-timer",
715
+ "version": "1.0.9",
716
+ "source": {
717
+ "type": "git",
718
+ "url": "https://github.com/sebastianbergmann/php-timer.git",
719
+ "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
720
+ },
721
+ "dist": {
722
+ "type": "zip",
723
+ "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
724
+ "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
725
+ "shasum": ""
726
+ },
727
+ "require": {
728
+ "php": "^5.3.3 || ^7.0"
729
+ },
730
+ "require-dev": {
731
+ "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
732
+ },
733
+ "type": "library",
734
+ "extra": {
735
+ "branch-alias": {
736
+ "dev-master": "1.0-dev"
737
+ }
738
+ },
739
+ "autoload": {
740
+ "classmap": [
741
+ "src/"
742
+ ]
743
+ },
744
+ "notification-url": "https://packagist.org/downloads/",
745
+ "license": [
746
+ "BSD-3-Clause"
747
+ ],
748
+ "authors": [
749
+ {
750
+ "name": "Sebastian Bergmann",
751
+ "email": "sb@sebastian-bergmann.de",
752
+ "role": "lead"
753
+ }
754
+ ],
755
+ "description": "Utility class for timing",
756
+ "homepage": "https://github.com/sebastianbergmann/php-timer/",
757
+ "keywords": [
758
+ "timer"
759
+ ],
760
+ "time": "2017-02-26T11:10:40+00:00"
761
+ },
762
+ {
763
+ "name": "phpunit/php-token-stream",
764
+ "version": "2.0.2",
765
+ "source": {
766
+ "type": "git",
767
+ "url": "https://github.com/sebastianbergmann/php-token-stream.git",
768
+ "reference": "791198a2c6254db10131eecfe8c06670700904db"
769
+ },
770
+ "dist": {
771
+ "type": "zip",
772
+ "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db",
773
+ "reference": "791198a2c6254db10131eecfe8c06670700904db",
774
+ "shasum": ""
775
+ },
776
+ "require": {
777
+ "ext-tokenizer": "*",
778
+ "php": "^7.0"
779
+ },
780
+ "require-dev": {
781
+ "phpunit/phpunit": "^6.2.4"
782
+ },
783
+ "type": "library",
784
+ "extra": {
785
+ "branch-alias": {
786
+ "dev-master": "2.0-dev"
787
+ }
788
+ },
789
+ "autoload": {
790
+ "classmap": [
791
+ "src/"
792
+ ]
793
+ },
794
+ "notification-url": "https://packagist.org/downloads/",
795
+ "license": [
796
+ "BSD-3-Clause"
797
+ ],
798
+ "authors": [
799
+ {
800
+ "name": "Sebastian Bergmann",
801
+ "email": "sebastian@phpunit.de"
802
+ }
803
+ ],
804
+ "description": "Wrapper around PHP's tokenizer extension.",
805
+ "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
806
+ "keywords": [
807
+ "tokenizer"
808
+ ],
809
+ "time": "2017-11-27T05:48:46+00:00"
810
+ },
811
+ {
812
+ "name": "phpunit/phpunit",
813
+ "version": "6.5.13",
814
+ "source": {
815
+ "type": "git",
816
+ "url": "https://github.com/sebastianbergmann/phpunit.git",
817
+ "reference": "0973426fb012359b2f18d3bd1e90ef1172839693"
818
+ },
819
+ "dist": {
820
+ "type": "zip",
821
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/0973426fb012359b2f18d3bd1e90ef1172839693",
822
+ "reference": "0973426fb012359b2f18d3bd1e90ef1172839693",
823
+ "shasum": ""
824
+ },
825
+ "require": {
826
+ "ext-dom": "*",
827
+ "ext-json": "*",
828
+ "ext-libxml": "*",
829
+ "ext-mbstring": "*",
830
+ "ext-xml": "*",
831
+ "myclabs/deep-copy": "^1.6.1",
832
+ "phar-io/manifest": "^1.0.1",
833
+ "phar-io/version": "^1.0",
834
+ "php": "^7.0",
835
+ "phpspec/prophecy": "^1.7",
836
+ "phpunit/php-code-coverage": "^5.3",
837
+ "phpunit/php-file-iterator": "^1.4.3",
838
+ "phpunit/php-text-template": "^1.2.1",
839
+ "phpunit/php-timer": "^1.0.9",
840
+ "phpunit/phpunit-mock-objects": "^5.0.9",
841
+ "sebastian/comparator": "^2.1",
842
+ "sebastian/diff": "^2.0",
843
+ "sebastian/environment": "^3.1",
844
+ "sebastian/exporter": "^3.1",
845
+ "sebastian/global-state": "^2.0",
846
+ "sebastian/object-enumerator": "^3.0.3",
847
+ "sebastian/resource-operations": "^1.0",
848
+ "sebastian/version": "^2.0.1"
849
+ },
850
+ "conflict": {
851
+ "phpdocumentor/reflection-docblock": "3.0.2",
852
+ "phpunit/dbunit": "<3.0"
853
+ },
854
+ "require-dev": {
855
+ "ext-pdo": "*"
856
+ },
857
+ "suggest": {
858
+ "ext-xdebug": "*",
859
+ "phpunit/php-invoker": "^1.1"
860
+ },
861
+ "bin": [
862
+ "phpunit"
863
+ ],
864
+ "type": "library",
865
+ "extra": {
866
+ "branch-alias": {
867
+ "dev-master": "6.5.x-dev"
868
+ }
869
+ },
870
+ "autoload": {
871
+ "classmap": [
872
+ "src/"
873
+ ]
874
+ },
875
+ "notification-url": "https://packagist.org/downloads/",
876
+ "license": [
877
+ "BSD-3-Clause"
878
+ ],
879
+ "authors": [
880
+ {
881
+ "name": "Sebastian Bergmann",
882
+ "email": "sebastian@phpunit.de",
883
+ "role": "lead"
884
+ }
885
+ ],
886
+ "description": "The PHP Unit Testing framework.",
887
+ "homepage": "https://phpunit.de/",
888
+ "keywords": [
889
+ "phpunit",
890
+ "testing",
891
+ "xunit"
892
+ ],
893
+ "time": "2018-09-08T15:10:43+00:00"
894
+ },
895
+ {
896
+ "name": "phpunit/phpunit-mock-objects",
897
+ "version": "5.0.10",
898
+ "source": {
899
+ "type": "git",
900
+ "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
901
+ "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f"
902
+ },
903
+ "dist": {
904
+ "type": "zip",
905
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/cd1cf05c553ecfec36b170070573e540b67d3f1f",
906
+ "reference": "cd1cf05c553ecfec36b170070573e540b67d3f1f",
907
+ "shasum": ""
908
+ },
909
+ "require": {
910
+ "doctrine/instantiator": "^1.0.5",
911
+ "php": "^7.0",
912
+ "phpunit/php-text-template": "^1.2.1",
913
+ "sebastian/exporter": "^3.1"
914
+ },
915
+ "conflict": {
916
+ "phpunit/phpunit": "<6.0"
917
+ },
918
+ "require-dev": {
919
+ "phpunit/phpunit": "^6.5.11"
920
+ },
921
+ "suggest": {
922
+ "ext-soap": "*"
923
+ },
924
+ "type": "library",
925
+ "extra": {
926
+ "branch-alias": {
927
+ "dev-master": "5.0.x-dev"
928
+ }
929
+ },
930
+ "autoload": {
931
+ "classmap": [
932
+ "src/"
933
+ ]
934
+ },
935
+ "notification-url": "https://packagist.org/downloads/",
936
+ "license": [
937
+ "BSD-3-Clause"
938
+ ],
939
+ "authors": [
940
+ {
941
+ "name": "Sebastian Bergmann",
942
+ "email": "sebastian@phpunit.de",
943
+ "role": "lead"
944
+ }
945
+ ],
946
+ "description": "Mock Object library for PHPUnit",
947
+ "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/",
948
+ "keywords": [
949
+ "mock",
950
+ "xunit"
951
+ ],
952
+ "time": "2018-08-09T05:50:03+00:00"
953
+ },
954
+ {
955
+ "name": "sebastian/code-unit-reverse-lookup",
956
+ "version": "1.0.1",
957
+ "source": {
958
+ "type": "git",
959
+ "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
960
+ "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
961
+ },
962
+ "dist": {
963
+ "type": "zip",
964
+ "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
965
+ "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
966
+ "shasum": ""
967
+ },
968
+ "require": {
969
+ "php": "^5.6 || ^7.0"
970
+ },
971
+ "require-dev": {
972
+ "phpunit/phpunit": "^5.7 || ^6.0"
973
+ },
974
+ "type": "library",
975
+ "extra": {
976
+ "branch-alias": {
977
+ "dev-master": "1.0.x-dev"
978
+ }
979
+ },
980
+ "autoload": {
981
+ "classmap": [
982
+ "src/"
983
+ ]
984
+ },
985
+ "notification-url": "https://packagist.org/downloads/",
986
+ "license": [
987
+ "BSD-3-Clause"
988
+ ],
989
+ "authors": [
990
+ {
991
+ "name": "Sebastian Bergmann",
992
+ "email": "sebastian@phpunit.de"
993
+ }
994
+ ],
995
+ "description": "Looks up which function or method a line of code belongs to",
996
+ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
997
+ "time": "2017-03-04T06:30:41+00:00"
998
+ },
999
+ {
1000
+ "name": "sebastian/comparator",
1001
+ "version": "2.1.3",
1002
+ "source": {
1003
+ "type": "git",
1004
+ "url": "https://github.com/sebastianbergmann/comparator.git",
1005
+ "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9"
1006
+ },
1007
+ "dist": {
1008
+ "type": "zip",
1009
+ "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9",
1010
+ "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9",
1011
+ "shasum": ""
1012
+ },
1013
+ "require": {
1014
+ "php": "^7.0",
1015
+ "sebastian/diff": "^2.0 || ^3.0",
1016
+ "sebastian/exporter": "^3.1"
1017
+ },
1018
+ "require-dev": {
1019
+ "phpunit/phpunit": "^6.4"
1020
+ },
1021
+ "type": "library",
1022
+ "extra": {
1023
+ "branch-alias": {
1024
+ "dev-master": "2.1.x-dev"
1025