Version Description
- 2017-12-12 =
Fixed
- Bug in cf-ip-rewrite
Added
- Added a new filter cloudflare_purge_by_url allowing users to have better control on automatically purged urls.
Download this release
Release Info
Developer | furkan811 |
Plugin | Cloudflare |
Version | 3.3.2 |
Comparing to | |
See all releases |
Code changes from version 3.3.1 to 3.3.2
- .editorconfig +0 -21
- README.md +1 -1
- cloudflare.loader.php +19 -2
- cloudflare.php +1 -1
- composer.json +1 -1
- composer.lock +7 -7
- config.js +1 -1
- readme.txt +14 -4
- src/WordPress/Hooks.php +1 -0
- vendor/cloudflare/cf-ip-rewrite/composer.json +1 -1
- vendor/cloudflare/cf-ip-rewrite/composer.lock +117 -105
- vendor/cloudflare/cf-ip-rewrite/src/CloudFlare/IpRewrite.php +5 -0
- vendor/composer/ClassLoader.php +7 -3
- vendor/composer/LICENSE +1 -1
- vendor/composer/installed.json +6 -6
.editorconfig
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
# This file is for unifying the coding style for different editors and IDEs
|
2 |
-
# editorconfig.org
|
3 |
-
|
4 |
-
# WordPress Coding Standards
|
5 |
-
# https://make.wordpress.org/core/handbook/coding-standards/
|
6 |
-
|
7 |
-
root = true
|
8 |
-
|
9 |
-
[*]
|
10 |
-
charset = utf-8
|
11 |
-
end_of_line = lf
|
12 |
-
insert_final_newline = true
|
13 |
-
trim_trailing_whitespace = true
|
14 |
-
indent_style = tab
|
15 |
-
|
16 |
-
[{.jshintrc,*.json,*.yml}]
|
17 |
-
indent_style = space
|
18 |
-
indent_size = 2
|
19 |
-
|
20 |
-
[{*.txt,wp-config-sample.php}]
|
21 |
-
end_of_line = crlf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -77,7 +77,7 @@ For all support inquiries regarding Cloudflare’s WordPress plugin, please logi
|
|
77 |
|
78 |
## Contributions
|
79 |
|
80 |
-
We welcome community contribution to this repository. [CONTRIBUTING.md](CONTRIBUTING.md) will help you start contributing.
|
81 |
|
82 |
## Changelog
|
83 |
|
77 |
|
78 |
## Contributions
|
79 |
|
80 |
+
We welcome community contribution to this repository. [CONTRIBUTING.md](CONTRIBUTING.md) will help you start contributing. You can find active problems to work on in [Issues](https://github.com/cloudflare/Cloudflare-WordPress/issues) page.
|
81 |
|
82 |
## Changelog
|
83 |
|
cloudflare.loader.php
CHANGED
@@ -59,9 +59,26 @@ $cloudflarePurgeEverythingActions = array(
|
|
59 |
);
|
60 |
|
61 |
foreach ($cloudflarePurgeEverythingActions as $action) {
|
62 |
-
add_action($action, array($cloudflareHooks, 'purgeCacheEverything'));
|
63 |
}
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
$cloudflarePurgeURLActions = array(
|
66 |
'deleted_post', // Delete a post
|
67 |
'edit_post', // Edit a post - includes leaving comments
|
@@ -69,5 +86,5 @@ $cloudflarePurgeURLActions = array(
|
|
69 |
);
|
70 |
|
71 |
foreach ($cloudflarePurgeURLActions as $action) {
|
72 |
-
add_action($action, array($cloudflareHooks, 'purgeCacheByRevelantURLs'),
|
73 |
}
|
59 |
);
|
60 |
|
61 |
foreach ($cloudflarePurgeEverythingActions as $action) {
|
62 |
+
add_action($action, array($cloudflareHooks, 'purgeCacheEverything'), PHP_INT_MAX);
|
63 |
}
|
64 |
|
65 |
+
/**
|
66 |
+
* You can filter the list of URLs that get purged by Cloudflare after a post is
|
67 |
+
* modified by implementing a filter for the "cloudflare_purge_by_url" hook.
|
68 |
+
*
|
69 |
+
* @Example:
|
70 |
+
*
|
71 |
+
* /**
|
72 |
+
* * @param array $urls A list of post related URLs
|
73 |
+
* * @param integer $post_id the post ID that was modified
|
74 |
+
* * /
|
75 |
+
* function your_cloudflare_url_filter($urls, $post_id) {
|
76 |
+
* // modify urls
|
77 |
+
* return $urls;
|
78 |
+
* }
|
79 |
+
*
|
80 |
+
* add_filter('cloudflare_purge_by_url', your_cloudflare_url_filter, 10, 2);
|
81 |
+
*/
|
82 |
$cloudflarePurgeURLActions = array(
|
83 |
'deleted_post', // Delete a post
|
84 |
'edit_post', // Edit a post - includes leaving comments
|
86 |
);
|
87 |
|
88 |
foreach ($cloudflarePurgeURLActions as $action) {
|
89 |
+
add_action($action, array($cloudflareHooks, 'purgeCacheByRevelantURLs'), PHP_INT_MAX, 2);
|
90 |
}
|
cloudflare.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Cloudflare
|
4 |
Plugin URI: https://blog.cloudflare.com/new-wordpress-plugin/
|
5 |
Description: Cloudflare speeds up and protects your WordPress site.
|
6 |
-
Version: 3.3.
|
7 |
Author: John Wineman, Furkan Yilmaz, Junade Ali (Cloudflare Team)
|
8 |
License: BSD-3-Clause
|
9 |
*/
|
3 |
Plugin Name: Cloudflare
|
4 |
Plugin URI: https://blog.cloudflare.com/new-wordpress-plugin/
|
5 |
Description: Cloudflare speeds up and protects your WordPress site.
|
6 |
+
Version: 3.3.2
|
7 |
Author: John Wineman, Furkan Yilmaz, Junade Ali (Cloudflare Team)
|
8 |
License: BSD-3-Clause
|
9 |
*/
|
composer.json
CHANGED
@@ -30,5 +30,5 @@
|
|
30 |
"_comment": [
|
31 |
"php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195"
|
32 |
],
|
33 |
-
"version": "3.3.
|
34 |
}
|
30 |
"_comment": [
|
31 |
"php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195"
|
32 |
],
|
33 |
+
"version": "3.3.2"
|
34 |
}
|
composer.lock
CHANGED
@@ -4,20 +4,20 @@
|
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
-
"content-hash": "
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "cloudflare/cf-ip-rewrite",
|
11 |
-
"version": "1.0.
|
12 |
"source": {
|
13 |
"type": "git",
|
14 |
"url": "https://github.com/cloudflare/cf-ip-rewrite.git",
|
15 |
-
"reference": "
|
16 |
},
|
17 |
"dist": {
|
18 |
"type": "zip",
|
19 |
-
"url": "https://api.github.com/repos/cloudflare/cf-ip-rewrite/zipball/
|
20 |
-
"reference": "
|
21 |
"shasum": ""
|
22 |
},
|
23 |
"require": {
|
@@ -49,7 +49,7 @@
|
|
49 |
"cloudflare",
|
50 |
"ip rewrite"
|
51 |
],
|
52 |
-
"time": "2017-
|
53 |
},
|
54 |
{
|
55 |
"name": "cloudflare/cloudflare-plugin-backend",
|
@@ -1465,7 +1465,7 @@
|
|
1465 |
"typo3"
|
1466 |
],
|
1467 |
"abandoned": true,
|
1468 |
-
"time": "2016-05-
|
1469 |
},
|
1470 |
{
|
1471 |
"name": "squizlabs/php_codesniffer",
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
+
"content-hash": "efeadcf404fe17ccde840e944270deaf",
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "cloudflare/cf-ip-rewrite",
|
11 |
+
"version": "1.0.4",
|
12 |
"source": {
|
13 |
"type": "git",
|
14 |
"url": "https://github.com/cloudflare/cf-ip-rewrite.git",
|
15 |
+
"reference": "48e2ce52e87d3d27cdb662584fccf82efa898bf1"
|
16 |
},
|
17 |
"dist": {
|
18 |
"type": "zip",
|
19 |
+
"url": "https://api.github.com/repos/cloudflare/cf-ip-rewrite/zipball/48e2ce52e87d3d27cdb662584fccf82efa898bf1",
|
20 |
+
"reference": "48e2ce52e87d3d27cdb662584fccf82efa898bf1",
|
21 |
"shasum": ""
|
22 |
},
|
23 |
"require": {
|
49 |
"cloudflare",
|
50 |
"ip rewrite"
|
51 |
],
|
52 |
+
"time": "2017-10-10T15:44:33+00:00"
|
53 |
},
|
54 |
{
|
55 |
"name": "cloudflare/cloudflare-plugin-backend",
|
1465 |
"typo3"
|
1466 |
],
|
1467 |
"abandoned": true,
|
1468 |
+
"time": "2016-05-12T11:58:38+00:00"
|
1469 |
},
|
1470 |
{
|
1471 |
"name": "squizlabs/php_codesniffer",
|
config.js
CHANGED
@@ -25,5 +25,5 @@
|
|
25 |
},
|
26 |
"locale": "en",
|
27 |
"integrationName": "wordpress",
|
28 |
-
"version": "3.3.
|
29 |
}
|
25 |
},
|
26 |
"locale": "en",
|
27 |
"integrationName": "wordpress",
|
28 |
+
"version": "3.3.2"
|
29 |
}
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Cloudflare ===
|
2 |
-
Contributors: jwineman, furkan811, icyapril
|
3 |
Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free
|
4 |
Requires at least: 3.4
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 3.3.
|
7 |
License: BSD-3-Clause
|
8 |
|
9 |
All of Cloudflare’s performance and security benefits in a simple one-click install of recommended settings specifically developed for WordPress.
|
@@ -83,11 +83,21 @@ Yes, Cloudflare works with, and helps speed up your site even more, if you have
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
= 3.3.1 - 2017-6-29 =
|
87 |
|
88 |
*Fixed*
|
89 |
|
90 |
-
* Potential bug
|
91 |
|
92 |
= 3.3.0 - 2017-6-29 =
|
93 |
|
1 |
=== Cloudflare ===
|
2 |
+
Contributors: jwineman, furkan811, icyapril, manatarms
|
3 |
Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free
|
4 |
Requires at least: 3.4
|
5 |
+
Tested up to: 4.9.1
|
6 |
+
Stable tag: 3.3.2
|
7 |
License: BSD-3-Clause
|
8 |
|
9 |
All of Cloudflare’s performance and security benefits in a simple one-click install of recommended settings specifically developed for WordPress.
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 3.3.2 - 2017-12-12 =
|
87 |
+
|
88 |
+
*Fixed*
|
89 |
+
|
90 |
+
* Bug in cf-ip-rewrite
|
91 |
+
|
92 |
+
*Added*
|
93 |
+
|
94 |
+
* Added a new filter cloudflare_purge_by_url allowing users to have better control on automatically purged urls.
|
95 |
+
|
96 |
= 3.3.1 - 2017-6-29 =
|
97 |
|
98 |
*Fixed*
|
99 |
|
100 |
+
* Potential bug by using $_GET.
|
101 |
|
102 |
= 3.3.0 - 2017-6-29 =
|
103 |
|
src/WordPress/Hooks.php
CHANGED
@@ -151,6 +151,7 @@ class Hooks
|
|
151 |
}
|
152 |
|
153 |
$urls = $this->getPostRelatedLinks($postId);
|
|
|
154 |
|
155 |
$zoneTag = $this->api->getZoneTag($wpDomain);
|
156 |
|
151 |
}
|
152 |
|
153 |
$urls = $this->getPostRelatedLinks($postId);
|
154 |
+
$urls = apply_filters('cloudflare_purge_by_url', $urls, $postId);
|
155 |
|
156 |
$zoneTag = $this->api->getZoneTag($wpDomain);
|
157 |
|
vendor/cloudflare/cf-ip-rewrite/composer.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"name": "cloudflare/cf-ip-rewrite",
|
3 |
"description": "Library to rewrite CloudFlare IP Addresses to the end-user IP address",
|
4 |
-
"version": "1.0.
|
5 |
"homepage": "https://github.com/cloudflare/cf-ip-rewrite",
|
6 |
"keywords": [
|
7 |
"ip rewrite",
|
1 |
{
|
2 |
"name": "cloudflare/cf-ip-rewrite",
|
3 |
"description": "Library to rewrite CloudFlare IP Addresses to the end-user IP address",
|
4 |
+
"version": "1.0.4",
|
5 |
"homepage": "https://github.com/cloudflare/cf-ip-rewrite",
|
6 |
"keywords": [
|
7 |
"ip rewrite",
|
vendor/cloudflare/cf-ip-rewrite/composer.lock
CHANGED
@@ -4,8 +4,7 @@
|
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
-
"hash": "
|
8 |
-
"content-hash": "4fc6d38137ea7cccff5bb1f731a1b4fd",
|
9 |
"packages": [],
|
10 |
"packages-dev": [
|
11 |
{
|
@@ -60,20 +59,20 @@
|
|
60 |
"constructor",
|
61 |
"instantiate"
|
62 |
],
|
63 |
-
"time": "2015-06-
|
64 |
},
|
65 |
{
|
66 |
"name": "phpdocumentor/reflection-common",
|
67 |
-
"version": "1.0",
|
68 |
"source": {
|
69 |
"type": "git",
|
70 |
"url": "https://github.com/phpDocumentor/ReflectionCommon.git",
|
71 |
-
"reference": "
|
72 |
},
|
73 |
"dist": {
|
74 |
"type": "zip",
|
75 |
-
"url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/
|
76 |
-
"reference": "
|
77 |
"shasum": ""
|
78 |
},
|
79 |
"require": {
|
@@ -114,26 +113,26 @@
|
|
114 |
"reflection",
|
115 |
"static analysis"
|
116 |
],
|
117 |
-
"time": "
|
118 |
},
|
119 |
{
|
120 |
"name": "phpdocumentor/reflection-docblock",
|
121 |
-
"version": "
|
122 |
"source": {
|
123 |
"type": "git",
|
124 |
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
|
125 |
-
"reference": "
|
126 |
},
|
127 |
"dist": {
|
128 |
"type": "zip",
|
129 |
-
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/
|
130 |
-
"reference": "
|
131 |
"shasum": ""
|
132 |
},
|
133 |
"require": {
|
134 |
-
"php": "
|
135 |
"phpdocumentor/reflection-common": "^1.0@dev",
|
136 |
-
"phpdocumentor/type-resolver": "^0.
|
137 |
"webmozart/assert": "^1.0"
|
138 |
},
|
139 |
"require-dev": {
|
@@ -159,24 +158,24 @@
|
|
159 |
}
|
160 |
],
|
161 |
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
162 |
-
"time": "
|
163 |
},
|
164 |
{
|
165 |
"name": "phpdocumentor/type-resolver",
|
166 |
-
"version": "0.
|
167 |
"source": {
|
168 |
"type": "git",
|
169 |
"url": "https://github.com/phpDocumentor/TypeResolver.git",
|
170 |
-
"reference": "
|
171 |
},
|
172 |
"dist": {
|
173 |
"type": "zip",
|
174 |
-
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/
|
175 |
-
"reference": "
|
176 |
"shasum": ""
|
177 |
},
|
178 |
"require": {
|
179 |
-
"php": "
|
180 |
"phpdocumentor/reflection-common": "^1.0"
|
181 |
},
|
182 |
"require-dev": {
|
@@ -206,36 +205,37 @@
|
|
206 |
"email": "me@mikevanriel.com"
|
207 |
}
|
208 |
],
|
209 |
-
"time": "
|
210 |
},
|
211 |
{
|
212 |
"name": "phpspec/prophecy",
|
213 |
-
"version": "v1.
|
214 |
"source": {
|
215 |
"type": "git",
|
216 |
"url": "https://github.com/phpspec/prophecy.git",
|
217 |
-
"reference": "
|
218 |
},
|
219 |
"dist": {
|
220 |
"type": "zip",
|
221 |
-
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/
|
222 |
-
"reference": "
|
223 |
"shasum": ""
|
224 |
},
|
225 |
"require": {
|
226 |
"doctrine/instantiator": "^1.0.2",
|
227 |
"php": "^5.3|^7.0",
|
228 |
-
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2",
|
229 |
-
"sebastian/comparator": "^1.1",
|
230 |
-
"sebastian/recursion-context": "^1.0"
|
231 |
},
|
232 |
"require-dev": {
|
233 |
-
"phpspec/phpspec": "^2.
|
|
|
234 |
},
|
235 |
"type": "library",
|
236 |
"extra": {
|
237 |
"branch-alias": {
|
238 |
-
"dev-master": "1.
|
239 |
}
|
240 |
},
|
241 |
"autoload": {
|
@@ -268,7 +268,7 @@
|
|
268 |
"spy",
|
269 |
"stub"
|
270 |
],
|
271 |
-
"time": "
|
272 |
},
|
273 |
{
|
274 |
"name": "phpunit/php-code-coverage",
|
@@ -330,20 +330,20 @@
|
|
330 |
"testing",
|
331 |
"xunit"
|
332 |
],
|
333 |
-
"time": "2015-10-
|
334 |
},
|
335 |
{
|
336 |
"name": "phpunit/php-file-iterator",
|
337 |
-
"version": "1.4.
|
338 |
"source": {
|
339 |
"type": "git",
|
340 |
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
341 |
-
"reference": "
|
342 |
},
|
343 |
"dist": {
|
344 |
"type": "zip",
|
345 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/
|
346 |
-
"reference": "
|
347 |
"shasum": ""
|
348 |
},
|
349 |
"require": {
|
@@ -377,7 +377,7 @@
|
|
377 |
"filesystem",
|
378 |
"iterator"
|
379 |
],
|
380 |
-
"time": "
|
381 |
},
|
382 |
{
|
383 |
"name": "phpunit/php-text-template",
|
@@ -418,29 +418,34 @@
|
|
418 |
"keywords": [
|
419 |
"template"
|
420 |
],
|
421 |
-
"time": "2015-06-
|
422 |
},
|
423 |
{
|
424 |
"name": "phpunit/php-timer",
|
425 |
-
"version": "1.0.
|
426 |
"source": {
|
427 |
"type": "git",
|
428 |
"url": "https://github.com/sebastianbergmann/php-timer.git",
|
429 |
-
"reference": "
|
430 |
},
|
431 |
"dist": {
|
432 |
"type": "zip",
|
433 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/
|
434 |
-
"reference": "
|
435 |
"shasum": ""
|
436 |
},
|
437 |
"require": {
|
438 |
-
"php": "
|
439 |
},
|
440 |
"require-dev": {
|
441 |
-
"phpunit/phpunit": "
|
442 |
},
|
443 |
"type": "library",
|
|
|
|
|
|
|
|
|
|
|
444 |
"autoload": {
|
445 |
"classmap": [
|
446 |
"src/"
|
@@ -462,20 +467,20 @@
|
|
462 |
"keywords": [
|
463 |
"timer"
|
464 |
],
|
465 |
-
"time": "
|
466 |
},
|
467 |
{
|
468 |
"name": "phpunit/php-token-stream",
|
469 |
-
"version": "1.4.
|
470 |
"source": {
|
471 |
"type": "git",
|
472 |
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
|
473 |
-
"reference": "
|
474 |
},
|
475 |
"dist": {
|
476 |
"type": "zip",
|
477 |
-
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/
|
478 |
-
"reference": "
|
479 |
"shasum": ""
|
480 |
},
|
481 |
"require": {
|
@@ -511,20 +516,20 @@
|
|
511 |
"keywords": [
|
512 |
"tokenizer"
|
513 |
],
|
514 |
-
"time": "
|
515 |
},
|
516 |
{
|
517 |
"name": "phpunit/phpunit",
|
518 |
-
"version": "4.8.
|
519 |
"source": {
|
520 |
"type": "git",
|
521 |
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
522 |
-
"reference": "
|
523 |
},
|
524 |
"dist": {
|
525 |
"type": "zip",
|
526 |
-
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/
|
527 |
-
"reference": "
|
528 |
"shasum": ""
|
529 |
},
|
530 |
"require": {
|
@@ -540,7 +545,7 @@
|
|
540 |
"phpunit/php-text-template": "~1.2",
|
541 |
"phpunit/php-timer": "^1.0.6",
|
542 |
"phpunit/phpunit-mock-objects": "~2.3",
|
543 |
-
"sebastian/comparator": "~1.
|
544 |
"sebastian/diff": "~1.2",
|
545 |
"sebastian/environment": "~1.3",
|
546 |
"sebastian/exporter": "~1.2",
|
@@ -583,7 +588,7 @@
|
|
583 |
"testing",
|
584 |
"xunit"
|
585 |
],
|
586 |
-
"time": "
|
587 |
},
|
588 |
{
|
589 |
"name": "phpunit/phpunit-mock-objects",
|
@@ -639,26 +644,26 @@
|
|
639 |
"mock",
|
640 |
"xunit"
|
641 |
],
|
642 |
-
"time": "2015-10-
|
643 |
},
|
644 |
{
|
645 |
"name": "sebastian/comparator",
|
646 |
-
"version": "1.2.
|
647 |
"source": {
|
648 |
"type": "git",
|
649 |
"url": "https://github.com/sebastianbergmann/comparator.git",
|
650 |
-
"reference": "
|
651 |
},
|
652 |
"dist": {
|
653 |
"type": "zip",
|
654 |
-
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/
|
655 |
-
"reference": "
|
656 |
"shasum": ""
|
657 |
},
|
658 |
"require": {
|
659 |
"php": ">=5.3.3",
|
660 |
"sebastian/diff": "~1.2",
|
661 |
-
"sebastian/exporter": "~1.2"
|
662 |
},
|
663 |
"require-dev": {
|
664 |
"phpunit/phpunit": "~4.4"
|
@@ -703,27 +708,27 @@
|
|
703 |
"compare",
|
704 |
"equality"
|
705 |
],
|
706 |
-
"time": "
|
707 |
},
|
708 |
{
|
709 |
"name": "sebastian/diff",
|
710 |
-
"version": "1.4.
|
711 |
"source": {
|
712 |
"type": "git",
|
713 |
"url": "https://github.com/sebastianbergmann/diff.git",
|
714 |
-
"reference": "
|
715 |
},
|
716 |
"dist": {
|
717 |
"type": "zip",
|
718 |
-
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/
|
719 |
-
"reference": "
|
720 |
"shasum": ""
|
721 |
},
|
722 |
"require": {
|
723 |
-
"php": "
|
724 |
},
|
725 |
"require-dev": {
|
726 |
-
"phpunit/phpunit": "
|
727 |
},
|
728 |
"type": "library",
|
729 |
"extra": {
|
@@ -755,27 +760,27 @@
|
|
755 |
"keywords": [
|
756 |
"diff"
|
757 |
],
|
758 |
-
"time": "
|
759 |
},
|
760 |
{
|
761 |
"name": "sebastian/environment",
|
762 |
-
"version": "1.3.
|
763 |
"source": {
|
764 |
"type": "git",
|
765 |
"url": "https://github.com/sebastianbergmann/environment.git",
|
766 |
-
"reference": "
|
767 |
},
|
768 |
"dist": {
|
769 |
"type": "zip",
|
770 |
-
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/
|
771 |
-
"reference": "
|
772 |
"shasum": ""
|
773 |
},
|
774 |
"require": {
|
775 |
-
"php": "
|
776 |
},
|
777 |
"require-dev": {
|
778 |
-
"phpunit/phpunit": "
|
779 |
},
|
780 |
"type": "library",
|
781 |
"extra": {
|
@@ -805,7 +810,7 @@
|
|
805 |
"environment",
|
806 |
"hhvm"
|
807 |
],
|
808 |
-
"time": "2016-
|
809 |
},
|
810 |
{
|
811 |
"name": "sebastian/exporter",
|
@@ -872,7 +877,7 @@
|
|
872 |
"export",
|
873 |
"exporter"
|
874 |
],
|
875 |
-
"time": "2016-06-
|
876 |
},
|
877 |
{
|
878 |
"name": "sebastian/global-state",
|
@@ -923,20 +928,20 @@
|
|
923 |
"keywords": [
|
924 |
"global state"
|
925 |
],
|
926 |
-
"time": "2015-10-
|
927 |
},
|
928 |
{
|
929 |
"name": "sebastian/recursion-context",
|
930 |
-
"version": "1.0.
|
931 |
"source": {
|
932 |
"type": "git",
|
933 |
"url": "https://github.com/sebastianbergmann/recursion-context.git",
|
934 |
-
"reference": "
|
935 |
},
|
936 |
"dist": {
|
937 |
"type": "zip",
|
938 |
-
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/
|
939 |
-
"reference": "
|
940 |
"shasum": ""
|
941 |
},
|
942 |
"require": {
|
@@ -976,7 +981,7 @@
|
|
976 |
],
|
977 |
"description": "Provides functionality to recursively process PHP variables",
|
978 |
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
|
979 |
-
"time": "
|
980 |
},
|
981 |
{
|
982 |
"name": "sebastian/version",
|
@@ -1011,20 +1016,20 @@
|
|
1011 |
],
|
1012 |
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
|
1013 |
"homepage": "https://github.com/sebastianbergmann/version",
|
1014 |
-
"time": "2015-06-
|
1015 |
},
|
1016 |
{
|
1017 |
"name": "squizlabs/php_codesniffer",
|
1018 |
-
"version": "2.
|
1019 |
"source": {
|
1020 |
"type": "git",
|
1021 |
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
1022 |
-
"reference": "
|
1023 |
},
|
1024 |
"dist": {
|
1025 |
"type": "zip",
|
1026 |
-
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/
|
1027 |
-
"reference": "
|
1028 |
"shasum": ""
|
1029 |
},
|
1030 |
"require": {
|
@@ -1089,29 +1094,35 @@
|
|
1089 |
"phpcs",
|
1090 |
"standards"
|
1091 |
],
|
1092 |
-
"time": "
|
1093 |
},
|
1094 |
{
|
1095 |
"name": "symfony/yaml",
|
1096 |
-
"version": "v3.
|
1097 |
"source": {
|
1098 |
"type": "git",
|
1099 |
"url": "https://github.com/symfony/yaml.git",
|
1100 |
-
"reference": "
|
1101 |
},
|
1102 |
"dist": {
|
1103 |
"type": "zip",
|
1104 |
-
"url": "https://api.github.com/repos/symfony/yaml/zipball/
|
1105 |
-
"reference": "
|
1106 |
"shasum": ""
|
1107 |
},
|
1108 |
"require": {
|
1109 |
-
"php": "
|
|
|
|
|
|
|
|
|
|
|
|
|
1110 |
},
|
1111 |
"type": "library",
|
1112 |
"extra": {
|
1113 |
"branch-alias": {
|
1114 |
-
"dev-master": "3.
|
1115 |
}
|
1116 |
},
|
1117 |
"autoload": {
|
@@ -1138,32 +1149,33 @@
|
|
1138 |
],
|
1139 |
"description": "Symfony Yaml Component",
|
1140 |
"homepage": "https://symfony.com",
|
1141 |
-
"time": "
|
1142 |
},
|
1143 |
{
|
1144 |
"name": "webmozart/assert",
|
1145 |
-
"version": "1.0
|
1146 |
"source": {
|
1147 |
"type": "git",
|
1148 |
"url": "https://github.com/webmozart/assert.git",
|
1149 |
-
"reference": "
|
1150 |
},
|
1151 |
"dist": {
|
1152 |
"type": "zip",
|
1153 |
-
"url": "https://api.github.com/repos/webmozart/assert/zipball/
|
1154 |
-
"reference": "
|
1155 |
"shasum": ""
|
1156 |
},
|
1157 |
"require": {
|
1158 |
-
"php": "
|
1159 |
},
|
1160 |
"require-dev": {
|
1161 |
-
"phpunit/phpunit": "^4.6"
|
|
|
1162 |
},
|
1163 |
"type": "library",
|
1164 |
"extra": {
|
1165 |
"branch-alias": {
|
1166 |
-
"dev-master": "1.
|
1167 |
}
|
1168 |
},
|
1169 |
"autoload": {
|
@@ -1187,7 +1199,7 @@
|
|
1187 |
"check",
|
1188 |
"validate"
|
1189 |
],
|
1190 |
-
"time": "
|
1191 |
}
|
1192 |
],
|
1193 |
"aliases": [],
|
4 |
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
5 |
"This file is @generated automatically"
|
6 |
],
|
7 |
+
"content-hash": "e9a6fb32abac8d89674cef520b820139",
|
|
|
8 |
"packages": [],
|
9 |
"packages-dev": [
|
10 |
{
|
59 |
"constructor",
|
60 |
"instantiate"
|
61 |
],
|
62 |
+
"time": "2015-06-14T21:17:01+00:00"
|
63 |
},
|
64 |
{
|
65 |
"name": "phpdocumentor/reflection-common",
|
66 |
+
"version": "1.0.1",
|
67 |
"source": {
|
68 |
"type": "git",
|
69 |
"url": "https://github.com/phpDocumentor/ReflectionCommon.git",
|
70 |
+
"reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
|
71 |
},
|
72 |
"dist": {
|
73 |
"type": "zip",
|
74 |
+
"url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
|
75 |
+
"reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
|
76 |
"shasum": ""
|
77 |
},
|
78 |
"require": {
|
113 |
"reflection",
|
114 |
"static analysis"
|
115 |
],
|
116 |
+
"time": "2017-09-11T18:02:19+00:00"
|
117 |
},
|
118 |
{
|
119 |
"name": "phpdocumentor/reflection-docblock",
|
120 |
+
"version": "4.1.1",
|
121 |
"source": {
|
122 |
"type": "git",
|
123 |
"url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
|
124 |
+
"reference": "2d3d238c433cf69caeb4842e97a3223a116f94b2"
|
125 |
},
|
126 |
"dist": {
|
127 |
"type": "zip",
|
128 |
+
"url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/2d3d238c433cf69caeb4842e97a3223a116f94b2",
|
129 |
+
"reference": "2d3d238c433cf69caeb4842e97a3223a116f94b2",
|
130 |
"shasum": ""
|
131 |
},
|
132 |
"require": {
|
133 |
+
"php": "^7.0",
|
134 |
"phpdocumentor/reflection-common": "^1.0@dev",
|
135 |
+
"phpdocumentor/type-resolver": "^0.4.0",
|
136 |
"webmozart/assert": "^1.0"
|
137 |
},
|
138 |
"require-dev": {
|
158 |
}
|
159 |
],
|
160 |
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
161 |
+
"time": "2017-08-30T18:51:59+00:00"
|
162 |
},
|
163 |
{
|
164 |
"name": "phpdocumentor/type-resolver",
|
165 |
+
"version": "0.4.0",
|
166 |
"source": {
|
167 |
"type": "git",
|
168 |
"url": "https://github.com/phpDocumentor/TypeResolver.git",
|
169 |
+
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
|
170 |
},
|
171 |
"dist": {
|
172 |
"type": "zip",
|
173 |
+
"url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
|
174 |
+
"reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
|
175 |
"shasum": ""
|
176 |
},
|
177 |
"require": {
|
178 |
+
"php": "^5.5 || ^7.0",
|
179 |
"phpdocumentor/reflection-common": "^1.0"
|
180 |
},
|
181 |
"require-dev": {
|
205 |
"email": "me@mikevanriel.com"
|
206 |
}
|
207 |
],
|
208 |
+
"time": "2017-07-14T14:27:02+00:00"
|
209 |
},
|
210 |
{
|
211 |
"name": "phpspec/prophecy",
|
212 |
+
"version": "v1.7.2",
|
213 |
"source": {
|
214 |
"type": "git",
|
215 |
"url": "https://github.com/phpspec/prophecy.git",
|
216 |
+
"reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6"
|
217 |
},
|
218 |
"dist": {
|
219 |
"type": "zip",
|
220 |
+
"url": "https://api.github.com/repos/phpspec/prophecy/zipball/c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6",
|
221 |
+
"reference": "c9b8c6088acd19d769d4cc0ffa60a9fe34344bd6",
|
222 |
"shasum": ""
|
223 |
},
|
224 |
"require": {
|
225 |
"doctrine/instantiator": "^1.0.2",
|
226 |
"php": "^5.3|^7.0",
|
227 |
+
"phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
|
228 |
+
"sebastian/comparator": "^1.1|^2.0",
|
229 |
+
"sebastian/recursion-context": "^1.0|^2.0|^3.0"
|
230 |
},
|
231 |
"require-dev": {
|
232 |
+
"phpspec/phpspec": "^2.5|^3.2",
|
233 |
+
"phpunit/phpunit": "^4.8 || ^5.6.5"
|
234 |
},
|
235 |
"type": "library",
|
236 |
"extra": {
|
237 |
"branch-alias": {
|
238 |
+
"dev-master": "1.7.x-dev"
|
239 |
}
|
240 |
},
|
241 |
"autoload": {
|
268 |
"spy",
|
269 |
"stub"
|
270 |
],
|
271 |
+
"time": "2017-09-04T11:05:03+00:00"
|
272 |
},
|
273 |
{
|
274 |
"name": "phpunit/php-code-coverage",
|
330 |
"testing",
|
331 |
"xunit"
|
332 |
],
|
333 |
+
"time": "2015-10-06T15:47:00+00:00"
|
334 |
},
|
335 |
{
|
336 |
"name": "phpunit/php-file-iterator",
|
337 |
+
"version": "1.4.2",
|
338 |
"source": {
|
339 |
"type": "git",
|
340 |
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
341 |
+
"reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5"
|
342 |
},
|
343 |
"dist": {
|
344 |
"type": "zip",
|
345 |
+
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
|
346 |
+
"reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5",
|
347 |
"shasum": ""
|
348 |
},
|
349 |
"require": {
|
377 |
"filesystem",
|
378 |
"iterator"
|
379 |
],
|
380 |
+
"time": "2016-10-03T07:40:28+00:00"
|
381 |
},
|
382 |
{
|
383 |
"name": "phpunit/php-text-template",
|
418 |
"keywords": [
|
419 |
"template"
|
420 |
],
|
421 |
+
"time": "2015-06-21T13:50:34+00:00"
|
422 |
},
|
423 |
{
|
424 |
"name": "phpunit/php-timer",
|
425 |
+
"version": "1.0.9",
|
426 |
"source": {
|
427 |
"type": "git",
|
428 |
"url": "https://github.com/sebastianbergmann/php-timer.git",
|
429 |
+
"reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f"
|
430 |
},
|
431 |
"dist": {
|
432 |
"type": "zip",
|
433 |
+
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
|
434 |
+
"reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f",
|
435 |
"shasum": ""
|
436 |
},
|
437 |
"require": {
|
438 |
+
"php": "^5.3.3 || ^7.0"
|
439 |
},
|
440 |
"require-dev": {
|
441 |
+
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0"
|
442 |
},
|
443 |
"type": "library",
|
444 |
+
"extra": {
|
445 |
+
"branch-alias": {
|
446 |
+
"dev-master": "1.0-dev"
|
447 |
+
}
|
448 |
+
},
|
449 |
"autoload": {
|
450 |
"classmap": [
|
451 |
"src/"
|
467 |
"keywords": [
|
468 |
"timer"
|
469 |
],
|
470 |
+
"time": "2017-02-26T11:10:40+00:00"
|
471 |
},
|
472 |
{
|
473 |
"name": "phpunit/php-token-stream",
|
474 |
+
"version": "1.4.11",
|
475 |
"source": {
|
476 |
"type": "git",
|
477 |
"url": "https://github.com/sebastianbergmann/php-token-stream.git",
|
478 |
+
"reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7"
|
479 |
},
|
480 |
"dist": {
|
481 |
"type": "zip",
|
482 |
+
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7",
|
483 |
+
"reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7",
|
484 |
"shasum": ""
|
485 |
},
|
486 |
"require": {
|
516 |
"keywords": [
|
517 |
"tokenizer"
|
518 |
],
|
519 |
+
"time": "2017-02-27T10:12:30+00:00"
|
520 |
},
|
521 |
{
|
522 |
"name": "phpunit/phpunit",
|
523 |
+
"version": "4.8.36",
|
524 |
"source": {
|
525 |
"type": "git",
|
526 |
"url": "https://github.com/sebastianbergmann/phpunit.git",
|
527 |
+
"reference": "46023de9a91eec7dfb06cc56cb4e260017298517"
|
528 |
},
|
529 |
"dist": {
|
530 |
"type": "zip",
|
531 |
+
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/46023de9a91eec7dfb06cc56cb4e260017298517",
|
532 |
+
"reference": "46023de9a91eec7dfb06cc56cb4e260017298517",
|
533 |
"shasum": ""
|
534 |
},
|
535 |
"require": {
|
545 |
"phpunit/php-text-template": "~1.2",
|
546 |
"phpunit/php-timer": "^1.0.6",
|
547 |
"phpunit/phpunit-mock-objects": "~2.3",
|
548 |
+
"sebastian/comparator": "~1.2.2",
|
549 |
"sebastian/diff": "~1.2",
|
550 |
"sebastian/environment": "~1.3",
|
551 |
"sebastian/exporter": "~1.2",
|
588 |
"testing",
|
589 |
"xunit"
|
590 |
],
|
591 |
+
"time": "2017-06-21T08:07:12+00:00"
|
592 |
},
|
593 |
{
|
594 |
"name": "phpunit/phpunit-mock-objects",
|
644 |
"mock",
|
645 |
"xunit"
|
646 |
],
|
647 |
+
"time": "2015-10-02T06:51:40+00:00"
|
648 |
},
|
649 |
{
|
650 |
"name": "sebastian/comparator",
|
651 |
+
"version": "1.2.4",
|
652 |
"source": {
|
653 |
"type": "git",
|
654 |
"url": "https://github.com/sebastianbergmann/comparator.git",
|
655 |
+
"reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be"
|
656 |
},
|
657 |
"dist": {
|
658 |
"type": "zip",
|
659 |
+
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
|
660 |
+
"reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be",
|
661 |
"shasum": ""
|
662 |
},
|
663 |
"require": {
|
664 |
"php": ">=5.3.3",
|
665 |
"sebastian/diff": "~1.2",
|
666 |
+
"sebastian/exporter": "~1.2 || ~2.0"
|
667 |
},
|
668 |
"require-dev": {
|
669 |
"phpunit/phpunit": "~4.4"
|
708 |
"compare",
|
709 |
"equality"
|
710 |
],
|
711 |
+
"time": "2017-01-29T09:50:25+00:00"
|
712 |
},
|
713 |
{
|
714 |
"name": "sebastian/diff",
|
715 |
+
"version": "1.4.3",
|
716 |
"source": {
|
717 |
"type": "git",
|
718 |
"url": "https://github.com/sebastianbergmann/diff.git",
|
719 |
+
"reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4"
|
720 |
},
|
721 |
"dist": {
|
722 |
"type": "zip",
|
723 |
+
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4",
|
724 |
+
"reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4",
|
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": {
|
760 |
"keywords": [
|
761 |
"diff"
|
762 |
],
|
763 |
+
"time": "2017-05-22T07:24:03+00:00"
|
764 |
},
|
765 |
{
|
766 |
"name": "sebastian/environment",
|
767 |
+
"version": "1.3.8",
|
768 |
"source": {
|
769 |
"type": "git",
|
770 |
"url": "https://github.com/sebastianbergmann/environment.git",
|
771 |
+
"reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea"
|
772 |
},
|
773 |
"dist": {
|
774 |
"type": "zip",
|
775 |
+
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea",
|
776 |
+
"reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea",
|
777 |
"shasum": ""
|
778 |
},
|
779 |
"require": {
|
780 |
+
"php": "^5.3.3 || ^7.0"
|
781 |
},
|
782 |
"require-dev": {
|
783 |
+
"phpunit/phpunit": "^4.8 || ^5.0"
|
784 |
},
|
785 |
"type": "library",
|
786 |
"extra": {
|
810 |
"environment",
|
811 |
"hhvm"
|
812 |
],
|
813 |
+
"time": "2016-08-18T05:49:44+00:00"
|
814 |
},
|
815 |
{
|
816 |
"name": "sebastian/exporter",
|
877 |
"export",
|
878 |
"exporter"
|
879 |
],
|
880 |
+
"time": "2016-06-17T09:04:28+00:00"
|
881 |
},
|
882 |
{
|
883 |
"name": "sebastian/global-state",
|
928 |
"keywords": [
|
929 |
"global state"
|
930 |
],
|
931 |
+
"time": "2015-10-12T03:26:01+00:00"
|
932 |
},
|
933 |
{
|
934 |
"name": "sebastian/recursion-context",
|
935 |
+
"version": "1.0.5",
|
936 |
"source": {
|
937 |
"type": "git",
|
938 |
"url": "https://github.com/sebastianbergmann/recursion-context.git",
|
939 |
+
"reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7"
|
940 |
},
|
941 |
"dist": {
|
942 |
"type": "zip",
|
943 |
+
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
|
944 |
+
"reference": "b19cc3298482a335a95f3016d2f8a6950f0fbcd7",
|
945 |
"shasum": ""
|
946 |
},
|
947 |
"require": {
|
981 |
],
|
982 |
"description": "Provides functionality to recursively process PHP variables",
|
983 |
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
|
984 |
+
"time": "2016-10-03T07:41:43+00:00"
|
985 |
},
|
986 |
{
|
987 |
"name": "sebastian/version",
|
1016 |
],
|
1017 |
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
|
1018 |
"homepage": "https://github.com/sebastianbergmann/version",
|
1019 |
+
"time": "2015-06-21T13:59:46+00:00"
|
1020 |
},
|
1021 |
{
|
1022 |
"name": "squizlabs/php_codesniffer",
|
1023 |
+
"version": "2.9.1",
|
1024 |
"source": {
|
1025 |
"type": "git",
|
1026 |
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
1027 |
+
"reference": "dcbed1074f8244661eecddfc2a675430d8d33f62"
|
1028 |
},
|
1029 |
"dist": {
|
1030 |
"type": "zip",
|
1031 |
+
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62",
|
1032 |
+
"reference": "dcbed1074f8244661eecddfc2a675430d8d33f62",
|
1033 |
"shasum": ""
|
1034 |
},
|
1035 |
"require": {
|
1094 |
"phpcs",
|
1095 |
"standards"
|
1096 |
],
|
1097 |
+
"time": "2017-05-22T02:43:20+00:00"
|
1098 |
},
|
1099 |
{
|
1100 |
"name": "symfony/yaml",
|
1101 |
+
"version": "v3.3.10",
|
1102 |
"source": {
|
1103 |
"type": "git",
|
1104 |
"url": "https://github.com/symfony/yaml.git",
|
1105 |
+
"reference": "8c7bf1e7d5d6b05a690b715729cb4cd0c0a99c46"
|
1106 |
},
|
1107 |
"dist": {
|
1108 |
"type": "zip",
|
1109 |
+
"url": "https://api.github.com/repos/symfony/yaml/zipball/8c7bf1e7d5d6b05a690b715729cb4cd0c0a99c46",
|
1110 |
+
"reference": "8c7bf1e7d5d6b05a690b715729cb4cd0c0a99c46",
|
1111 |
"shasum": ""
|
1112 |
},
|
1113 |
"require": {
|
1114 |
+
"php": "^5.5.9|>=7.0.8"
|
1115 |
+
},
|
1116 |
+
"require-dev": {
|
1117 |
+
"symfony/console": "~2.8|~3.0"
|
1118 |
+
},
|
1119 |
+
"suggest": {
|
1120 |
+
"symfony/console": "For validating YAML files using the lint command"
|
1121 |
},
|
1122 |
"type": "library",
|
1123 |
"extra": {
|
1124 |
"branch-alias": {
|
1125 |
+
"dev-master": "3.3-dev"
|
1126 |
}
|
1127 |
},
|
1128 |
"autoload": {
|
1149 |
],
|
1150 |
"description": "Symfony Yaml Component",
|
1151 |
"homepage": "https://symfony.com",
|
1152 |
+
"time": "2017-10-05T14:43:42+00:00"
|
1153 |
},
|
1154 |
{
|
1155 |
"name": "webmozart/assert",
|
1156 |
+
"version": "1.2.0",
|
1157 |
"source": {
|
1158 |
"type": "git",
|
1159 |
"url": "https://github.com/webmozart/assert.git",
|
1160 |
+
"reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f"
|
1161 |
},
|
1162 |
"dist": {
|
1163 |
"type": "zip",
|
1164 |
+
"url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f",
|
1165 |
+
"reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f",
|
1166 |
"shasum": ""
|
1167 |
},
|
1168 |
"require": {
|
1169 |
+
"php": "^5.3.3 || ^7.0"
|
1170 |
},
|
1171 |
"require-dev": {
|
1172 |
+
"phpunit/phpunit": "^4.6",
|
1173 |
+
"sebastian/version": "^1.0.1"
|
1174 |
},
|
1175 |
"type": "library",
|
1176 |
"extra": {
|
1177 |
"branch-alias": {
|
1178 |
+
"dev-master": "1.3-dev"
|
1179 |
}
|
1180 |
},
|
1181 |
"autoload": {
|
1199 |
"check",
|
1200 |
"validate"
|
1201 |
],
|
1202 |
+
"time": "2016-11-23T20:04:58+00:00"
|
1203 |
}
|
1204 |
],
|
1205 |
"aliases": [],
|
vendor/cloudflare/cf-ip-rewrite/src/CloudFlare/IpRewrite.php
CHANGED
@@ -49,6 +49,11 @@ class IpRewrite
|
|
49 |
{
|
50 |
if (!isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
|
51 |
return false;
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
53 |
|
54 |
return $this->isCloudFlareIP();
|
49 |
{
|
50 |
if (!isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
|
51 |
return false;
|
52 |
+
} else {
|
53 |
+
// Check if original ip has already been restored, e.g. by nginx - assume it was from cloudflare then
|
54 |
+
if ($_SERVER['REMOTE_ADDR'] === $_SERVER['HTTP_CF_CONNECTING_IP']) {
|
55 |
+
return true;
|
56 |
+
}
|
57 |
}
|
58 |
|
59 |
return $this->isCloudFlareIP();
|
vendor/composer/ClassLoader.php
CHANGED
@@ -374,9 +374,13 @@ class ClassLoader
|
|
374 |
|
375 |
$first = $class[0];
|
376 |
if (isset($this->prefixLengthsPsr4[$first])) {
|
377 |
-
|
378 |
-
|
379 |
-
|
|
|
|
|
|
|
|
|
380 |
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
381 |
return $file;
|
382 |
}
|
374 |
|
375 |
$first = $class[0];
|
376 |
if (isset($this->prefixLengthsPsr4[$first])) {
|
377 |
+
$subPath = $class;
|
378 |
+
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
379 |
+
$subPath = substr($subPath, 0, $lastPos);
|
380 |
+
$search = $subPath.'\\';
|
381 |
+
if (isset($this->prefixDirsPsr4[$search])) {
|
382 |
+
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
383 |
+
$length = $this->prefixLengthsPsr4[$first][$search];
|
384 |
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
385 |
return $file;
|
386 |
}
|
vendor/composer/LICENSE
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
|
2 |
-
Copyright (c)
|
3 |
|
4 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
of this software and associated documentation files (the "Software"), to deal
|
1 |
|
2 |
+
Copyright (c) Nils Adermann, Jordi Boggiano
|
3 |
|
4 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
of this software and associated documentation files (the "Software"), to deal
|
vendor/composer/installed.json
CHANGED
@@ -1650,17 +1650,17 @@
|
|
1650 |
},
|
1651 |
{
|
1652 |
"name": "cloudflare/cf-ip-rewrite",
|
1653 |
-
"version": "1.0.
|
1654 |
-
"version_normalized": "1.0.
|
1655 |
"source": {
|
1656 |
"type": "git",
|
1657 |
"url": "https://github.com/cloudflare/cf-ip-rewrite.git",
|
1658 |
-
"reference": "
|
1659 |
},
|
1660 |
"dist": {
|
1661 |
"type": "zip",
|
1662 |
-
"url": "https://api.github.com/repos/cloudflare/cf-ip-rewrite/zipball/
|
1663 |
-
"reference": "
|
1664 |
"shasum": ""
|
1665 |
},
|
1666 |
"require": {
|
@@ -1670,7 +1670,7 @@
|
|
1670 |
"phpunit/phpunit": "^4.8",
|
1671 |
"squizlabs/php_codesniffer": "2.*"
|
1672 |
},
|
1673 |
-
"time": "2017-
|
1674 |
"type": "library",
|
1675 |
"installation-source": "dist",
|
1676 |
"autoload": {
|
1650 |
},
|
1651 |
{
|
1652 |
"name": "cloudflare/cf-ip-rewrite",
|
1653 |
+
"version": "1.0.4",
|
1654 |
+
"version_normalized": "1.0.4.0",
|
1655 |
"source": {
|
1656 |
"type": "git",
|
1657 |
"url": "https://github.com/cloudflare/cf-ip-rewrite.git",
|
1658 |
+
"reference": "48e2ce52e87d3d27cdb662584fccf82efa898bf1"
|
1659 |
},
|
1660 |
"dist": {
|
1661 |
"type": "zip",
|
1662 |
+
"url": "https://api.github.com/repos/cloudflare/cf-ip-rewrite/zipball/48e2ce52e87d3d27cdb662584fccf82efa898bf1",
|
1663 |
+
"reference": "48e2ce52e87d3d27cdb662584fccf82efa898bf1",
|
1664 |
"shasum": ""
|
1665 |
},
|
1666 |
"require": {
|
1670 |
"phpunit/phpunit": "^4.8",
|
1671 |
"squizlabs/php_codesniffer": "2.*"
|
1672 |
},
|
1673 |
+
"time": "2017-10-10T15:44:33+00:00",
|
1674 |
"type": "library",
|
1675 |
"installation-source": "dist",
|
1676 |
"autoload": {
|