From a8f83d88188654facb3b5c29cd7c8d28941f928f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 29 Oct 2016 17:15:39 +0200 Subject: [PATCH 01/35] Start development on the 3.0.x series --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1b81dd6..0cbfd07 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "bin": ["bin/xrl"], "extra": { "branch-alias": { - "dev-develop": "2.0.x-dev" + "dev-develop": "3.0.x-dev" } } } From a2b3f6d2d44471fbe48a3a44bb4d69fd9ddfdc6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 29 Oct 2016 21:46:59 +0200 Subject: [PATCH 02/35] Update dependencies --- composer.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.lock b/composer.lock index a04fb6d..63951a9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "8f41165221a9207be16ffd49d3cf601c", - "content-hash": "bf9f0877629bf99ea57dd8fca91aa344", + "hash": "5e90f75132a1f37545dff42cf634933d", + "content-hash": "3f0e28d7d1c29591bc6def645c0882c6", "packages": [], "packages-dev": [ { From 6e259d168f55150757939dc2bc59e67ad6f5f64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 12 Nov 2016 21:54:57 +0100 Subject: [PATCH 03/35] Update dependencies --- composer.lock | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.lock b/composer.lock index 63951a9..905a2a8 100644 --- a/composer.lock +++ b/composer.lock @@ -218,16 +218,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.5.4", + "version": "1.5.5", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "ea74994a3dc7f8d2f65a06009348f2d63c81e61f" + "reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/ea74994a3dc7f8d2f65a06009348f2d63c81e61f", - "reference": "ea74994a3dc7f8d2f65a06009348f2d63c81e61f", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/399c1f9781e222f6eb6cc238796f5200d1b7f108", + "reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108", "shasum": "" }, "require": { @@ -256,7 +256,7 @@ "object", "object graph" ], - "time": "2016-09-16 13:37:59" + "time": "2016-10-31 17:19:45" }, { "name": "pdepend/pdepend", @@ -666,16 +666,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "4.0.1", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3" + "reference": "6cba06ff75a1a63a71033e1a01b89056f3af1e8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/5f3f7e736d6319d5f1fc402aff8b026da26709a3", - "reference": "5f3f7e736d6319d5f1fc402aff8b026da26709a3", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6cba06ff75a1a63a71033e1a01b89056f3af1e8d", + "reference": "6cba06ff75a1a63a71033e1a01b89056f3af1e8d", "shasum": "" }, "require": { @@ -725,7 +725,7 @@ "testing", "xunit" ], - "time": "2016-07-26 14:39:29" + "time": "2016-11-01 05:06:24" }, { "name": "phpunit/php-file-iterator", From 8bf5f50e87e2bd1a10723d360c78051570f451fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Thu, 17 Nov 2016 23:32:35 +0100 Subject: [PATCH 04/35] Update dependencies --- composer.lock | 64 +++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/composer.lock b/composer.lock index 905a2a8..445752c 100644 --- a/composer.lock +++ b/composer.lock @@ -861,16 +861,16 @@ }, { "name": "phpunit/php-token-stream", - "version": "1.4.8", + "version": "1.4.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da" + "reference": "3b402f65a4cc90abf6e1104e388b896ce209631b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", - "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3b402f65a4cc90abf6e1104e388b896ce209631b", + "reference": "3b402f65a4cc90abf6e1104e388b896ce209631b", "shasum": "" }, "require": { @@ -906,20 +906,20 @@ "keywords": [ "tokenizer" ], - "time": "2015-09-15 10:49:45" + "time": "2016-11-15 14:06:22" }, { "name": "phpunit/phpunit", - "version": "5.6.2", + "version": "5.6.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "cd13b23ac5a519a4708e00736c26ee0bb28b2e01" + "reference": "a9de0dbafeb6b1391b391fbb034734cb0af9f67c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/cd13b23ac5a519a4708e00736c26ee0bb28b2e01", - "reference": "cd13b23ac5a519a4708e00736c26ee0bb28b2e01", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a9de0dbafeb6b1391b391fbb034734cb0af9f67c", + "reference": "a9de0dbafeb6b1391b391fbb034734cb0af9f67c", "shasum": "" }, "require": { @@ -988,7 +988,7 @@ "testing", "xunit" ], - "time": "2016-10-25 07:40:25" + "time": "2016-11-14 06:39:40" }, { "name": "phpunit/phpunit-mock-objects", @@ -1143,16 +1143,16 @@ }, { "name": "sebastian/comparator", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "937efb279bd37a375bcadf584dec0726f84dbf22" + "reference": "ce2bda23a56456f19e35d98241446b581f648c14" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/937efb279bd37a375bcadf584dec0726f84dbf22", - "reference": "937efb279bd37a375bcadf584dec0726f84dbf22", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/ce2bda23a56456f19e35d98241446b581f648c14", + "reference": "ce2bda23a56456f19e35d98241446b581f648c14", "shasum": "" }, "require": { @@ -1203,7 +1203,7 @@ "compare", "equality" ], - "time": "2015-07-26 15:48:44" + "time": "2016-11-17 14:39:37" }, { "name": "sebastian/diff", @@ -1466,21 +1466,21 @@ }, { "name": "sebastian/object-enumerator", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "d4ca2fb70344987502567bc50081c03e6192fb26" + "reference": "12dc92be4c9b1286fd37c15d54f7c9d8524f29e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/d4ca2fb70344987502567bc50081c03e6192fb26", - "reference": "d4ca2fb70344987502567bc50081c03e6192fb26", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/12dc92be4c9b1286fd37c15d54f7c9d8524f29e0", + "reference": "12dc92be4c9b1286fd37c15d54f7c9d8524f29e0", "shasum": "" }, "require": { "php": ">=5.6", - "sebastian/recursion-context": "~1.0" + "sebastian/recursion-context": "~1.0.4" }, "require-dev": { "phpunit/phpunit": "~5" @@ -1508,7 +1508,7 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2016-01-28 13:25:10" + "time": "2016-11-16 07:17:31" }, { "name": "sebastian/phpcpd", @@ -1563,16 +1563,16 @@ }, { "name": "sebastian/recursion-context", - "version": "1.0.2", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "913401df809e99e4f47b27cdd781f4a258d58791" + "reference": "938df7a6478e72795e5f8266cff24d06e3136f2e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/913401df809e99e4f47b27cdd781f4a258d58791", - "reference": "913401df809e99e4f47b27cdd781f4a258d58791", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/938df7a6478e72795e5f8266cff24d06e3136f2e", + "reference": "938df7a6478e72795e5f8266cff24d06e3136f2e", "shasum": "" }, "require": { @@ -1612,7 +1612,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2015-11-11 19:50:13" + "time": "2016-11-15 06:55:36" }, { "name": "sebastian/resource-operations", @@ -2108,16 +2108,16 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.2.0", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "dff51f72b0706335131b00a7f49606168c582594" + "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/dff51f72b0706335131b00a7f49606168c582594", - "reference": "dff51f72b0706335131b00a7f49606168c582594", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", + "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", "shasum": "" }, "require": { @@ -2129,7 +2129,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -2163,7 +2163,7 @@ "portable", "shim" ], - "time": "2016-05-18 14:26:46" + "time": "2016-11-14 01:06:16" }, { "name": "symfony/yaml", From 94e0dd2ba74a4d9587f5f338dad5f24bc2eb7578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 4 Dec 2016 09:41:00 +0100 Subject: [PATCH 05/35] Update dependencies --- composer.lock | 303 ++++++++++++++++++++++++++------------------------ 1 file changed, 159 insertions(+), 144 deletions(-) diff --git a/composer.lock b/composer.lock index 445752c..2814d3e 100644 --- a/composer.lock +++ b/composer.lock @@ -260,16 +260,16 @@ }, { "name": "pdepend/pdepend", - "version": "2.2.4", + "version": "2.3.2", "source": { "type": "git", "url": "https://github.com/pdepend/pdepend.git", - "reference": "b086687f3a01dc6bb92d633aef071d2c5dd0db06" + "reference": "8d7ab8fe8c1f9de5056bb7ea2c0852f4ddd44f90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pdepend/pdepend/zipball/b086687f3a01dc6bb92d633aef071d2c5dd0db06", - "reference": "b086687f3a01dc6bb92d633aef071d2c5dd0db06", + "url": "https://api.github.com/repos/pdepend/pdepend/zipball/8d7ab8fe8c1f9de5056bb7ea2c0852f4ddd44f90", + "reference": "8d7ab8fe8c1f9de5056bb7ea2c0852f4ddd44f90", "shasum": "" }, "require": { @@ -296,7 +296,7 @@ "BSD-3-Clause" ], "description": "Official version of pdepend to be handled with Composer", - "time": "2016-03-10 15:15:04" + "time": "2016-11-23 20:25:02" }, { "name": "phing/phing", @@ -492,16 +492,16 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "0.2", + "version": "0.2.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443" + "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b39c7a5b194f9ed7bd0dd345c751007a41862443", - "reference": "b39c7a5b194f9ed7bd0dd345c751007a41862443", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", "shasum": "" }, "require": { @@ -535,25 +535,25 @@ "email": "me@mikevanriel.com" } ], - "time": "2016-06-10 07:14:17" + "time": "2016-11-25 06:54:22" }, { "name": "phpmd/phpmd", - "version": "2.4.3", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/phpmd/phpmd.git", - "reference": "2b9c2417a18696dfb578b38c116cd0ddc19b256e" + "reference": "9298602a922cd8c46666df8d540a60bc5925ce55" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/2b9c2417a18696dfb578b38c116cd0ddc19b256e", - "reference": "2b9c2417a18696dfb578b38c116cd0ddc19b256e", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/9298602a922cd8c46666df8d540a60bc5925ce55", + "reference": "9298602a922cd8c46666df8d540a60bc5925ce55", "shasum": "" }, "require": { "pdepend/pdepend": "^2.0.4", - "php": ">=5.3.0" + "php": ">=5.3.9" }, "require-dev": { "phpunit/phpunit": "^4.0", @@ -600,20 +600,20 @@ "phpmd", "pmd" ], - "time": "2016-04-04 11:52:04" + "time": "2016-11-23 20:33:32" }, { "name": "phpspec/prophecy", - "version": "v1.6.1", + "version": "v1.6.2", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "58a8137754bc24b25740d4281399a4a3596058e0" + "reference": "6c52c2722f8460122f96f86346600e1077ce22cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/58a8137754bc24b25740d4281399a4a3596058e0", - "reference": "58a8137754bc24b25740d4281399a4a3596058e0", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/6c52c2722f8460122f96f86346600e1077ce22cb", + "reference": "6c52c2722f8460122f96f86346600e1077ce22cb", "shasum": "" }, "require": { @@ -621,10 +621,11 @@ "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", "sebastian/comparator": "^1.1", - "sebastian/recursion-context": "^1.0" + "sebastian/recursion-context": "^1.0|^2.0" }, "require-dev": { - "phpspec/phpspec": "^2.0" + "phpspec/phpspec": "^2.0", + "phpunit/phpunit": "^4.8 || ^5.6.5" }, "type": "library", "extra": { @@ -662,20 +663,20 @@ "spy", "stub" ], - "time": "2016-06-07 08:13:47" + "time": "2016-11-21 14:58:47" }, { "name": "phpunit/php-code-coverage", - "version": "4.0.2", + "version": "4.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "6cba06ff75a1a63a71033e1a01b89056f3af1e8d" + "reference": "903fd6318d0a90b4770a009ff73e4a4e9c437929" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6cba06ff75a1a63a71033e1a01b89056f3af1e8d", - "reference": "6cba06ff75a1a63a71033e1a01b89056f3af1e8d", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/903fd6318d0a90b4770a009ff73e4a4e9c437929", + "reference": "903fd6318d0a90b4770a009ff73e4a4e9c437929", "shasum": "" }, "require": { @@ -725,20 +726,20 @@ "testing", "xunit" ], - "time": "2016-11-01 05:06:24" + "time": "2016-11-28 16:00:31" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.1", + "version": "1.4.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0" + "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6150bf2c35d3fc379e50c7602b75caceaa39dbf0", - "reference": "6150bf2c35d3fc379e50c7602b75caceaa39dbf0", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", "shasum": "" }, "require": { @@ -772,7 +773,7 @@ "filesystem", "iterator" ], - "time": "2015-06-21 13:08:43" + "time": "2016-10-03 07:40:28" }, { "name": "phpunit/php-text-template", @@ -910,16 +911,16 @@ }, { "name": "phpunit/phpunit", - "version": "5.6.3", + "version": "5.7.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a9de0dbafeb6b1391b391fbb034734cb0af9f67c" + "reference": "336aff0ac52e306c98e7455bc3e8d7b0bf777a5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a9de0dbafeb6b1391b391fbb034734cb0af9f67c", - "reference": "a9de0dbafeb6b1391b391fbb034734cb0af9f67c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/336aff0ac52e306c98e7455bc3e8d7b0bf777a5e", + "reference": "336aff0ac52e306c98e7455bc3e8d7b0bf777a5e", "shasum": "" }, "require": { @@ -931,17 +932,17 @@ "myclabs/deep-copy": "~1.3", "php": "^5.6 || ^7.0", "phpspec/prophecy": "^1.3.1", - "phpunit/php-code-coverage": "^4.0.1", + "phpunit/php-code-coverage": "^4.0.3", "phpunit/php-file-iterator": "~1.4", "phpunit/php-text-template": "~1.2", "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^3.2", - "sebastian/comparator": "~1.1", + "sebastian/comparator": "~1.2.2", "sebastian/diff": "~1.2", - "sebastian/environment": "^1.3 || ^2.0", - "sebastian/exporter": "~1.2", + "sebastian/environment": "^1.3.4 || ^2.0", + "sebastian/exporter": "~2.0", "sebastian/global-state": "~1.0", - "sebastian/object-enumerator": "~1.0", + "sebastian/object-enumerator": "~2.0", "sebastian/resource-operations": "~1.0", "sebastian/version": "~1.0|~2.0", "symfony/yaml": "~2.1|~3.0" @@ -962,7 +963,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.6.x-dev" + "dev-master": "5.7.x-dev" } }, "autoload": { @@ -988,27 +989,27 @@ "testing", "xunit" ], - "time": "2016-11-14 06:39:40" + "time": "2016-12-03 08:33:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "3.4.0", + "version": "3.4.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "238d7a2723bce689c79eeac9c7d5e1d623bb9dc2" + "reference": "90a08f5deed5f7ac35463c161f2e8fa0e5652faf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/238d7a2723bce689c79eeac9c7d5e1d623bb9dc2", - "reference": "238d7a2723bce689c79eeac9c7d5e1d623bb9dc2", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/90a08f5deed5f7ac35463c161f2e8fa0e5652faf", + "reference": "90a08f5deed5f7ac35463c161f2e8fa0e5652faf", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.6 || ^7.0", "phpunit/php-text-template": "^1.2", - "sebastian/exporter": "^1.2" + "sebastian/exporter": "^1.2 || ^2.0" }, "conflict": { "phpunit/phpunit": "<5.4.0" @@ -1047,7 +1048,7 @@ "mock", "xunit" ], - "time": "2016-10-09 07:01:45" + "time": "2016-11-27 07:52:03" }, { "name": "psr/log", @@ -1143,22 +1144,22 @@ }, { "name": "sebastian/comparator", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "ce2bda23a56456f19e35d98241446b581f648c14" + "reference": "6a1ed12e8b2409076ab22e3897126211ff8b1f7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/ce2bda23a56456f19e35d98241446b581f648c14", - "reference": "ce2bda23a56456f19e35d98241446b581f648c14", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/6a1ed12e8b2409076ab22e3897126211ff8b1f7f", + "reference": "6a1ed12e8b2409076ab22e3897126211ff8b1f7f", "shasum": "" }, "require": { "php": ">=5.3.3", "sebastian/diff": "~1.2", - "sebastian/exporter": "~1.2" + "sebastian/exporter": "~1.2 || ~2.0" }, "require-dev": { "phpunit/phpunit": "~4.4" @@ -1203,7 +1204,7 @@ "compare", "equality" ], - "time": "2016-11-17 14:39:37" + "time": "2016-11-19 09:18:40" }, { "name": "sebastian/diff", @@ -1259,28 +1260,28 @@ }, { "name": "sebastian/environment", - "version": "1.3.8", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea" + "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/be2c607e43ce4c89ecd60e75c6a85c126e754aea", - "reference": "be2c607e43ce4c89ecd60e75c6a85c126e754aea", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", + "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^5.6 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "^4.8 || ^5.0" + "phpunit/phpunit": "^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -1305,25 +1306,25 @@ "environment", "hhvm" ], - "time": "2016-08-18 05:49:44" + "time": "2016-11-26 07:53:53" }, { "name": "sebastian/exporter", - "version": "1.2.2", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4" + "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/42c4c2eec485ee3e159ec9884f95b431287edde4", - "reference": "42c4c2eec485ee3e159ec9884f95b431287edde4", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", + "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", "shasum": "" }, "require": { "php": ">=5.3.3", - "sebastian/recursion-context": "~1.0" + "sebastian/recursion-context": "~2.0" }, "require-dev": { "ext-mbstring": "*", @@ -1332,7 +1333,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -1372,7 +1373,7 @@ "export", "exporter" ], - "time": "2016-06-17 09:04:28" + "time": "2016-11-19 08:54:04" }, { "name": "sebastian/finder-facade", @@ -1466,21 +1467,21 @@ }, { "name": "sebastian/object-enumerator", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "12dc92be4c9b1286fd37c15d54f7c9d8524f29e0" + "reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/12dc92be4c9b1286fd37c15d54f7c9d8524f29e0", - "reference": "12dc92be4c9b1286fd37c15d54f7c9d8524f29e0", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35", + "reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35", "shasum": "" }, "require": { "php": ">=5.6", - "sebastian/recursion-context": "~1.0.4" + "sebastian/recursion-context": "~2.0" }, "require-dev": { "phpunit/phpunit": "~5" @@ -1488,7 +1489,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -1508,7 +1509,7 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2016-11-16 07:17:31" + "time": "2016-11-19 07:35:10" }, { "name": "sebastian/phpcpd", @@ -1563,16 +1564,16 @@ }, { "name": "sebastian/recursion-context", - "version": "1.0.4", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "938df7a6478e72795e5f8266cff24d06e3136f2e" + "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/938df7a6478e72795e5f8266cff24d06e3136f2e", - "reference": "938df7a6478e72795e5f8266cff24d06e3136f2e", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a", + "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a", "shasum": "" }, "require": { @@ -1584,7 +1585,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -1612,7 +1613,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-11-15 06:55:36" + "time": "2016-11-19 07:33:16" }, { "name": "sebastian/resource-operations", @@ -1658,16 +1659,16 @@ }, { "name": "sebastian/version", - "version": "2.0.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5" + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5", - "reference": "c829badbd8fdf16a0bad8aa7fa7971c029f1b9c5", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", + "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", "shasum": "" }, "require": { @@ -1697,20 +1698,20 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-02-04 12:56:52" + "time": "2016-10-03 07:35:21" }, { "name": "squizlabs/php_codesniffer", - "version": "2.7.0", + "version": "2.7.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "571e27b6348e5b3a637b2abc82ac0d01e6d7bbed" + "reference": "9b324f3a1132459a7274a0ace2e1b766ba80930f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/571e27b6348e5b3a637b2abc82ac0d01e6d7bbed", - "reference": "571e27b6348e5b3a637b2abc82ac0d01e6d7bbed", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9b324f3a1132459a7274a0ace2e1b766ba80930f", + "reference": "9b324f3a1132459a7274a0ace2e1b766ba80930f", "shasum": "" }, "require": { @@ -1775,33 +1776,36 @@ "phpcs", "standards" ], - "time": "2016-09-01 23:53:02" + "time": "2016-11-30 04:02:31" }, { "name": "symfony/config", - "version": "v3.1.6", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "949e7e846743a7f9e46dc50eb639d5fde1f53341" + "reference": "4a68f8953180bf77ea65f585020f4db0b18600b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/949e7e846743a7f9e46dc50eb639d5fde1f53341", - "reference": "949e7e846743a7f9e46dc50eb639d5fde1f53341", + "url": "https://api.github.com/repos/symfony/config/zipball/4a68f8953180bf77ea65f585020f4db0b18600b4", + "reference": "4a68f8953180bf77ea65f585020f4db0b18600b4", "shasum": "" }, "require": { "php": ">=5.5.9", "symfony/filesystem": "~2.8|~3.0" }, + "require-dev": { + "symfony/yaml": "~3.0" + }, "suggest": { "symfony/yaml": "To use the yaml reference dumper" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -1828,20 +1832,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2016-09-25 08:27:07" + "time": "2016-11-29 11:12:32" }, { "name": "symfony/console", - "version": "v3.1.6", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "c99da1119ae61e15de0e4829196b9fba6f73d065" + "reference": "09d0fd33560e3573185a2ea17614e37ba38716c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c99da1119ae61e15de0e4829196b9fba6f73d065", - "reference": "c99da1119ae61e15de0e4829196b9fba6f73d065", + "url": "https://api.github.com/repos/symfony/console/zipball/09d0fd33560e3573185a2ea17614e37ba38716c5", + "reference": "09d0fd33560e3573185a2ea17614e37ba38716c5", "shasum": "" }, "require": { @@ -1852,17 +1856,19 @@ "require-dev": { "psr/log": "~1.0", "symfony/event-dispatcher": "~2.8|~3.0", + "symfony/filesystem": "~2.8|~3.0", "symfony/process": "~2.8|~3.0" }, "suggest": { "psr/log": "For using the console logger", "symfony/event-dispatcher": "", + "symfony/filesystem": "", "symfony/process": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -1889,20 +1895,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-10-06 01:44:51" + "time": "2016-11-16 22:18:16" }, { "name": "symfony/debug", - "version": "v3.1.6", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "e2b3f74a67fc928adc3c1b9027f73e1bc01190a8" + "reference": "9f923e68d524a3095c5a2ae5fc7220c7cbc12231" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/e2b3f74a67fc928adc3c1b9027f73e1bc01190a8", - "reference": "e2b3f74a67fc928adc3c1b9027f73e1bc01190a8", + "url": "https://api.github.com/repos/symfony/debug/zipball/9f923e68d524a3095c5a2ae5fc7220c7cbc12231", + "reference": "9f923e68d524a3095c5a2ae5fc7220c7cbc12231", "shasum": "" }, "require": { @@ -1919,7 +1925,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -1946,29 +1952,32 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2016-09-06 11:02:40" + "time": "2016-11-16 22:18:16" }, { "name": "symfony/dependency-injection", - "version": "v3.1.6", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "c578891216090069cd6d2e573402e13e39b3ad5c" + "reference": "f5419adad083c90e0dfd8588ef83683d7dbcc20d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/c578891216090069cd6d2e573402e13e39b3ad5c", - "reference": "c578891216090069cd6d2e573402e13e39b3ad5c", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/f5419adad083c90e0dfd8588ef83683d7dbcc20d", + "reference": "f5419adad083c90e0dfd8588ef83683d7dbcc20d", "shasum": "" }, "require": { "php": ">=5.5.9" }, + "conflict": { + "symfony/yaml": "<3.2" + }, "require-dev": { "symfony/config": "~2.8|~3.0", "symfony/expression-language": "~2.8|~3.0", - "symfony/yaml": "~2.8.7|~3.0.7|~3.1.1|~3.2" + "symfony/yaml": "~3.2" }, "suggest": { "symfony/config": "", @@ -1979,7 +1988,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -2006,20 +2015,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2016-10-24 15:52:44" + "time": "2016-11-25 12:32:42" }, { "name": "symfony/filesystem", - "version": "v3.1.6", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "0565b61bf098cb4dc09f4f103f033138ae4f42c6" + "reference": "8d4cf7561a5b17e5eb7a02b80d0b8f014a3796d4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/0565b61bf098cb4dc09f4f103f033138ae4f42c6", - "reference": "0565b61bf098cb4dc09f4f103f033138ae4f42c6", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/8d4cf7561a5b17e5eb7a02b80d0b8f014a3796d4", + "reference": "8d4cf7561a5b17e5eb7a02b80d0b8f014a3796d4", "shasum": "" }, "require": { @@ -2028,7 +2037,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -2055,20 +2064,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2016-10-18 04:30:12" + "time": "2016-11-24 00:46:43" }, { "name": "symfony/finder", - "version": "v3.1.6", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "205b5ffbb518a98ba2ae60a52656c4a31ab00c6f" + "reference": "4263e35a1e342a0f195c9349c0dee38148f8a14f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/205b5ffbb518a98ba2ae60a52656c4a31ab00c6f", - "reference": "205b5ffbb518a98ba2ae60a52656c4a31ab00c6f", + "url": "https://api.github.com/repos/symfony/finder/zipball/4263e35a1e342a0f195c9349c0dee38148f8a14f", + "reference": "4263e35a1e342a0f195c9349c0dee38148f8a14f", "shasum": "" }, "require": { @@ -2077,7 +2086,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -2104,7 +2113,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-09-28 00:11:12" + "time": "2016-11-03 08:11:03" }, { "name": "symfony/polyfill-mbstring", @@ -2167,25 +2176,31 @@ }, { "name": "symfony/yaml", - "version": "v3.1.6", + "version": "v3.2.0", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "7ff51b06c6c3d5cc6686df69004a42c69df09e27" + "reference": "f2300ba8fbb002c028710b92e1906e7457410693" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/7ff51b06c6c3d5cc6686df69004a42c69df09e27", - "reference": "7ff51b06c6c3d5cc6686df69004a42c69df09e27", + "url": "https://api.github.com/repos/symfony/yaml/zipball/f2300ba8fbb002c028710b92e1906e7457410693", + "reference": "f2300ba8fbb002c028710b92e1906e7457410693", "shasum": "" }, "require": { "php": ">=5.5.9" }, + "require-dev": { + "symfony/console": "~2.8|~3.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -2212,7 +2227,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-10-24 18:41:13" + "time": "2016-11-18 21:17:59" }, { "name": "theseer/fdomdocument", @@ -2256,20 +2271,20 @@ }, { "name": "webmozart/assert", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "bb2d123231c095735130cc8f6d31385a44c7b308" + "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/bb2d123231c095735130cc8f6d31385a44c7b308", - "reference": "bb2d123231c095735130cc8f6d31385a44c7b308", + "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", + "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", "shasum": "" }, "require": { - "php": "^5.3.3|^7.0" + "php": "^5.3.3 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^4.6", @@ -2278,7 +2293,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -2302,7 +2317,7 @@ "check", "validate" ], - "time": "2016-08-09 15:02:57" + "time": "2016-11-23 20:04:58" } ], "aliases": [], From 60959fe4b581bc9d8afe0950d90b758284ad267b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 10 Dec 2016 09:22:10 +0100 Subject: [PATCH 06/35] Update dependencies --- composer.lock | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/composer.lock b/composer.lock index 2814d3e..435268d 100644 --- a/composer.lock +++ b/composer.lock @@ -911,16 +911,16 @@ }, { "name": "phpunit/phpunit", - "version": "5.7.2", + "version": "5.7.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "336aff0ac52e306c98e7455bc3e8d7b0bf777a5e" + "reference": "de164acc2f2bb0b79beb892a36260264b2a03233" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/336aff0ac52e306c98e7455bc3e8d7b0bf777a5e", - "reference": "336aff0ac52e306c98e7455bc3e8d7b0bf777a5e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/de164acc2f2bb0b79beb892a36260264b2a03233", + "reference": "de164acc2f2bb0b79beb892a36260264b2a03233", "shasum": "" }, "require": { @@ -931,7 +931,7 @@ "ext-xml": "*", "myclabs/deep-copy": "~1.3", "php": "^5.6 || ^7.0", - "phpspec/prophecy": "^1.3.1", + "phpspec/prophecy": "^1.6.2", "phpunit/php-code-coverage": "^4.0.3", "phpunit/php-file-iterator": "~1.4", "phpunit/php-text-template": "~1.2", @@ -989,20 +989,20 @@ "testing", "xunit" ], - "time": "2016-12-03 08:33:00" + "time": "2016-12-09 02:48:53" }, { "name": "phpunit/phpunit-mock-objects", - "version": "3.4.2", + "version": "3.4.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "90a08f5deed5f7ac35463c161f2e8fa0e5652faf" + "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/90a08f5deed5f7ac35463c161f2e8fa0e5652faf", - "reference": "90a08f5deed5f7ac35463c161f2e8fa0e5652faf", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", + "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", "shasum": "" }, "require": { @@ -1048,7 +1048,7 @@ "mock", "xunit" ], - "time": "2016-11-27 07:52:03" + "time": "2016-12-08 20:27:08" }, { "name": "psr/log", From 450d1a29d64f2474f18fee04983f07390bf96534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Fri, 16 Dec 2016 22:18:03 +0100 Subject: [PATCH 07/35] Update dependencies --- composer.lock | 66 +++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/composer.lock b/composer.lock index 435268d..a59f161 100644 --- a/composer.lock +++ b/composer.lock @@ -911,16 +911,16 @@ }, { "name": "phpunit/phpunit", - "version": "5.7.3", + "version": "5.7.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "de164acc2f2bb0b79beb892a36260264b2a03233" + "reference": "af91da3f2671006ff5d0628023de3b7ac4d1ef09" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/de164acc2f2bb0b79beb892a36260264b2a03233", - "reference": "de164acc2f2bb0b79beb892a36260264b2a03233", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/af91da3f2671006ff5d0628023de3b7ac4d1ef09", + "reference": "af91da3f2671006ff5d0628023de3b7ac4d1ef09", "shasum": "" }, "require": { @@ -941,7 +941,7 @@ "sebastian/diff": "~1.2", "sebastian/environment": "^1.3.4 || ^2.0", "sebastian/exporter": "~2.0", - "sebastian/global-state": "~1.0", + "sebastian/global-state": "^1.0 || ^2.0", "sebastian/object-enumerator": "~2.0", "sebastian/resource-operations": "~1.0", "sebastian/version": "~1.0|~2.0", @@ -989,7 +989,7 @@ "testing", "xunit" ], - "time": "2016-12-09 02:48:53" + "time": "2016-12-13 16:19:44" }, { "name": "phpunit/phpunit-mock-objects", @@ -1780,16 +1780,16 @@ }, { "name": "symfony/config", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "4a68f8953180bf77ea65f585020f4db0b18600b4" + "reference": "b4ec9f099599cfc5b7f4d07bb2e910781a2be5e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/4a68f8953180bf77ea65f585020f4db0b18600b4", - "reference": "4a68f8953180bf77ea65f585020f4db0b18600b4", + "url": "https://api.github.com/repos/symfony/config/zipball/b4ec9f099599cfc5b7f4d07bb2e910781a2be5e4", + "reference": "b4ec9f099599cfc5b7f4d07bb2e910781a2be5e4", "shasum": "" }, "require": { @@ -1832,20 +1832,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2016-11-29 11:12:32" + "time": "2016-12-09 07:45:17" }, { "name": "symfony/console", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "09d0fd33560e3573185a2ea17614e37ba38716c5" + "reference": "d12aa9ca20f4db83ec58410978dab6afcb9d6aaa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/09d0fd33560e3573185a2ea17614e37ba38716c5", - "reference": "09d0fd33560e3573185a2ea17614e37ba38716c5", + "url": "https://api.github.com/repos/symfony/console/zipball/d12aa9ca20f4db83ec58410978dab6afcb9d6aaa", + "reference": "d12aa9ca20f4db83ec58410978dab6afcb9d6aaa", "shasum": "" }, "require": { @@ -1895,11 +1895,11 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-11-16 22:18:16" + "time": "2016-12-11 14:34:22" }, { "name": "symfony/debug", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", @@ -1956,16 +1956,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "f5419adad083c90e0dfd8588ef83683d7dbcc20d" + "reference": "037054501c41007c93b6de1b5c7a7acb83523593" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/f5419adad083c90e0dfd8588ef83683d7dbcc20d", - "reference": "f5419adad083c90e0dfd8588ef83683d7dbcc20d", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/037054501c41007c93b6de1b5c7a7acb83523593", + "reference": "037054501c41007c93b6de1b5c7a7acb83523593", "shasum": "" }, "require": { @@ -2015,11 +2015,11 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2016-11-25 12:32:42" + "time": "2016-12-08 15:27:33" }, { "name": "symfony/filesystem", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", @@ -2068,16 +2068,16 @@ }, { "name": "symfony/finder", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "4263e35a1e342a0f195c9349c0dee38148f8a14f" + "reference": "a69cb5d455b4885ca376dc5bb3e1155cc8c08c4b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/4263e35a1e342a0f195c9349c0dee38148f8a14f", - "reference": "4263e35a1e342a0f195c9349c0dee38148f8a14f", + "url": "https://api.github.com/repos/symfony/finder/zipball/a69cb5d455b4885ca376dc5bb3e1155cc8c08c4b", + "reference": "a69cb5d455b4885ca376dc5bb3e1155cc8c08c4b", "shasum": "" }, "require": { @@ -2113,7 +2113,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-11-03 08:11:03" + "time": "2016-12-13 09:39:43" }, { "name": "symfony/polyfill-mbstring", @@ -2176,16 +2176,16 @@ }, { "name": "symfony/yaml", - "version": "v3.2.0", + "version": "v3.2.1", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "f2300ba8fbb002c028710b92e1906e7457410693" + "reference": "a7095af4b97a0955f85c8989106c249fa649011f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/f2300ba8fbb002c028710b92e1906e7457410693", - "reference": "f2300ba8fbb002c028710b92e1906e7457410693", + "url": "https://api.github.com/repos/symfony/yaml/zipball/a7095af4b97a0955f85c8989106c249fa649011f", + "reference": "a7095af4b97a0955f85c8989106c249fa649011f", "shasum": "" }, "require": { @@ -2227,7 +2227,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-11-18 21:17:59" + "time": "2016-12-10 10:07:06" }, { "name": "theseer/fdomdocument", From f8ea21c25877473ab88782caaf93951d67b37e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Wed, 21 Dec 2016 11:01:54 +0100 Subject: [PATCH 08/35] Update RTD config file --- docs/src/conf.py | 94 +++++++++++++++++++++++++++++++----------------- 1 file changed, 62 insertions(+), 32 deletions(-) diff --git a/docs/src/conf.py b/docs/src/conf.py index e70745c..a7ce617 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -4,6 +4,8 @@ import sys import glob import shutil +import urllib +import fnmatch from datetime import datetime from subprocess import call, Popen, PIPE @@ -17,46 +19,49 @@ def prepare(globs, locs): cwd = os.getcwd() root = os.path.abspath(os.path.join(cwd, '..', '..')) - git = Popen('which git 2> %s' % os.devnull, shell=True, stdout=PIPE - ).stdout.read().strip() - doxygen = Popen('which doxygen 2> %s' % os.devnull, shell=True, stdout=PIPE - ).stdout.read().strip() - pybabel = Popen('which pybabel 2> %s' % os.devnull, shell=True, stdout=PIPE - ).stdout.read().strip() + git = Popen('which git 2> %s' % os.devnull, shell=True, + stdout=PIPE).stdout.read().strip() + doxygen = Popen('which doxygen 2> %s' % os.devnull, shell=True, + stdout=PIPE).stdout.read().strip() - print "git version:", - sys.stdout.flush() - call([git, '--version']) + locs['rtd_slug'] = os.path.basename(os.path.dirname(os.path.dirname(root))) + locs['rtd_version'] = os.path.basename(root) + pybabel = os.path.join(root, '..', '..', 'envs', + locs['rtd_version'], 'bin', 'pybabel') - print "doxygen version:", - sys.stdout.flush() + print "git version:" + call([git, '--version']) + print "doxygen version:" call([doxygen, '--version']) - - print "pybabel version:", - sys.stdout.flush() + print "pybabel version:" call([pybabel, '--version']) - print "environment:", repr(os.environ) - - print "Running from %s..." % (root, ) + print "Building version %s for %s in %s..." % ( + locs['rtd_version'], + locs['rtd_slug'], + root + ) os.chdir(root) # Figure several configuration values from git. origin = Popen([git, 'config', '--local', 'remote.origin.url'], - stdout=PIPE).stdout.read().strip() + stdout=PIPE).stdout.read().strip() git_tag = Popen([git, 'describe', '--tags', '--exact', '--first-parent'], stdout=PIPE).communicate()[0].strip() git_hash = Popen([git, 'rev-parse', 'HEAD'], stdout=PIPE).communicate()[0].strip() - gh_project = ('/'.join(origin.split('/')[-2:])).rpartition(':')[2] - if gh_project.endswith('.git'): - gh_project = gh_project[:-4] - project = gh_project.rpartition('/')[2] + project = origin.rpartition('/')[2] + if project.endswith('.git'): + project = project[:-4] os.environ['SPHINX_PROJECT'] = project if git_tag: - os.environ['SPHINX_VERSION'] = os.environ['SPHINX_RELEASE'] = git_tag + os.environ['SPHINX_VERSION'] = git_tag + os.environ['SPHINX_RELEASE'] = git_tag else: - os.environ['SPHINX_VERSION'] = os.environ['SPHINX_RELEASE'] = 'latest' + commit = Popen([git, 'describe', '--always', '--first-parent'], + stdout=PIPE).communicate()[0].strip() + os.environ['SPHINX_VERSION'] = 'latest' + os.environ['SPHINX_RELEASE'] = 'latest-%s' % (commit, ) locs['tags'].add('devel') # Clone or update dependencies @@ -91,15 +96,29 @@ def prepare(globs, locs): shutil.rmtree(os.path.join(root, 'build')) except OSError: pass + os.mkdir(os.path.join(root, 'build')) shutil.move( os.path.join(root, 'docs', 'api', 'html'), os.path.join(root, 'build', 'apidoc'), ) + try: + shutil.move( + os.path.join(root, '%s.tagfile.xml' % + os.environ['SPHINX_PROJECT']), + os.path.join(root, 'build', 'apidoc', '%s.tagfile.xml' % + os.environ['SPHINX_PROJECT']) + ) + except OSError: + pass # Compile translation catalogs. - for po in glob.iglob(os.path.join(root, 'docs', 'i18n', '*', 'LC_MESSAGES', '*.po')): - mo = po[:-3] + '.mo' - call([pybabel, 'compile', '-f', '--statistics', '-i', po, '-o', mo]) + for locale_dir in glob.iglob(os.path.join(root, 'docs', 'i18n', '*')): + for base, dirnames, filenames in os.walk(locale_dir): + for po in fnmatch.filter(filenames, '*.po'): + po = os.path.join(base, po) + mo = po[:-3] + '.mo' + call([pybabel, 'compile', '-f', '--statistics', + '-i', po, '-o', mo]) # Load the real Sphinx configuration file. os.chdir(cwd) @@ -108,24 +127,35 @@ def prepare(globs, locs): execfile(real_conf, globs, locs) # Patch configuration afterwards. - locs['copyright'] = u'2012-%d, XRL Team. All rights reserved' % \ - datetime.now().year + locs['copyright'] = u'2012-%d, XRL Team. All rights reserved' % datetime.now().year + + # - Theme if 'html_extra_path' not in locs: locs['html_extra_path'] = [] locs['html_extra_path'].append(os.path.join(root, 'build')) locs['html_theme'] = 'haiku' + + # - I18N if 'locale_dirs' not in locs: locs['locale_dirs'] = [] locs['locale_dirs'].insert(0, os.path.join(root, 'docs', 'i18n')) + if 'rst_prolog' not in locs: locs['rst_prolog'] = '' locs['rst_prolog'] += '\n .. _`this_commit`: https://github.com/%s/commit/%s\n' % ( - gh_project, + project, git_hash, ) - globs['RTD_NEW_THEME'] = False - globs['RTD_OLD_THEME'] = False + # - Custom roles + if 'doxylinks' in locs and 'api' in locs['doxylinks']: + locs['doxylinks']['api'] = ( + locs['doxylinks']['api'][0], + 'file://%s' % urllib.quote( + os.path.join(root, 'build', 'apidoc', '%s.tagfile.xml' % + os.environ['SPHINX_PROJECT']) + ) + ) prepare(globals(), locals()) From 55ea60c07baa18f0167e894362e2faee2a32e34d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Wed, 21 Dec 2016 19:01:53 +0100 Subject: [PATCH 09/35] Update RTD conf --- docs/src/conf.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/src/conf.py b/docs/src/conf.py index a7ce617..f000987 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -50,10 +50,15 @@ def prepare(globs, locs): stdout=PIPE).communicate()[0].strip() git_hash = Popen([git, 'rev-parse', 'HEAD'], stdout=PIPE).communicate()[0].strip() - project = origin.rpartition('/')[2] + + origin = origin.replace(':', '/').split('/') + vendor = origin[-2] + project = origin[-1] if project.endswith('.git'): project = project[:-4] os.environ['SPHINX_PROJECT'] = project + component = project.replace('Module_', 'Erebot_Module_') + if git_tag: os.environ['SPHINX_VERSION'] = git_tag os.environ['SPHINX_RELEASE'] = git_tag @@ -103,10 +108,8 @@ def prepare(globs, locs): ) try: shutil.move( - os.path.join(root, '%s.tagfile.xml' % - os.environ['SPHINX_PROJECT']), - os.path.join(root, 'build', 'apidoc', '%s.tagfile.xml' % - os.environ['SPHINX_PROJECT']) + os.path.join(root, '%s.tagfile.xml' % component), + os.path.join(root, 'build', 'apidoc', '%s.tagfile.xml' % component) ) except OSError: pass @@ -142,7 +145,8 @@ def prepare(globs, locs): if 'rst_prolog' not in locs: locs['rst_prolog'] = '' - locs['rst_prolog'] += '\n .. _`this_commit`: https://github.com/%s/commit/%s\n' % ( + locs['rst_prolog'] += '\n .. _`this_commit`: https://github.com/%s/%s/commit/%s\n' % ( + vendor, project, git_hash, ) @@ -152,8 +156,7 @@ def prepare(globs, locs): locs['doxylinks']['api'] = ( locs['doxylinks']['api'][0], 'file://%s' % urllib.quote( - os.path.join(root, 'build', 'apidoc', '%s.tagfile.xml' % - os.environ['SPHINX_PROJECT']) + os.path.join(root, 'build', 'apidoc', '%s.tagfile.xml' % component) ) ) From 400377e6b9b8049e2e2e76e791598defdcc9ce50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Thu, 29 Dec 2016 17:08:58 +0100 Subject: [PATCH 10/35] Update dependencies --- composer.lock | 121 +++++++++++++++++++++++++------------------------- 1 file changed, 60 insertions(+), 61 deletions(-) diff --git a/composer.lock b/composer.lock index a59f161..891b96d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,6 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "5e90f75132a1f37545dff42cf634933d", "content-hash": "3f0e28d7d1c29591bc6def645c0882c6", "packages": [], "packages-dev": [ @@ -60,7 +59,7 @@ "constructor", "instantiate" ], - "time": "2015-06-14 21:17:01" + "time": "2015-06-14T21:17:01+00:00" }, { "name": "erebot/buildenv", @@ -109,7 +108,7 @@ "keywords": [ "Erebot" ], - "time": "2014-12-30 11:49:48" + "time": "2014-12-30T11:49:48+00:00" }, { "name": "erebot/plop", @@ -172,7 +171,7 @@ "log", "logging" ], - "time": "2014-12-28 18:42:31" + "time": "2014-12-28T18:42:31+00:00" }, { "name": "fpoirotte/natives4doxygen", @@ -214,7 +213,7 @@ "documentation", "doxygen" ], - "time": "2014-11-02 13:27:25" + "time": "2014-11-02T13:27:25+00:00" }, { "name": "myclabs/deep-copy", @@ -256,7 +255,7 @@ "object", "object graph" ], - "time": "2016-10-31 17:19:45" + "time": "2016-10-31T17:19:45+00:00" }, { "name": "pdepend/pdepend", @@ -296,28 +295,28 @@ "BSD-3-Clause" ], "description": "Official version of pdepend to be handled with Composer", - "time": "2016-11-23 20:25:02" + "time": "2016-11-23T20:25:02+00:00" }, { "name": "phing/phing", - "version": "2.15.2", + "version": "2.16.0", "source": { "type": "git", "url": "https://github.com/phingofficial/phing.git", - "reference": "0999ab4e94e609dc00998e3d1b88df843054db7c" + "reference": "151a0f4d8cebf7711eccc62dde3f09bc36a00d7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phingofficial/phing/zipball/0999ab4e94e609dc00998e3d1b88df843054db7c", - "reference": "0999ab4e94e609dc00998e3d1b88df843054db7c", + "url": "https://api.github.com/repos/phingofficial/phing/zipball/151a0f4d8cebf7711eccc62dde3f09bc36a00d7b", + "reference": "151a0f4d8cebf7711eccc62dde3f09bc36a00d7b", "shasum": "" }, "require": { - "php": ">=5.2.0" + "php": ">=5.2.0", + "symfony/yaml": "^3.1" }, "require-dev": { "ext-pdo_sqlite": "*", - "lastcraft/simpletest": "@dev", "mikey179/vfsstream": "^1.6", "pdepend/pdepend": "2.x", "pear/archive_tar": "1.4.x", @@ -333,8 +332,8 @@ "sebastian/git": "~1.0", "sebastian/phpcpd": "2.x", "siad007/versioncontrol_hg": "^1.0", - "squizlabs/php_codesniffer": "~2.2", - "symfony/yaml": "~2.7" + "simpletest/simpletest": "^1.1", + "squizlabs/php_codesniffer": "~2.2" }, "suggest": { "pdepend/pdepend": "PHP version of JDepend", @@ -356,7 +355,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.15.x-dev" + "dev-master": "2.16.x-dev" } }, "autoload": { @@ -389,7 +388,7 @@ "task", "tool" ], - "time": "2016-10-13 09:01:45" + "time": "2016-12-22T20:16:33+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -443,7 +442,7 @@ "reflection", "static analysis" ], - "time": "2015-12-27 11:43:31" + "time": "2015-12-27T11:43:31+00:00" }, { "name": "phpdocumentor/reflection-docblock", @@ -488,7 +487,7 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-09-30 07:12:33" + "time": "2016-09-30T07:12:33+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -535,7 +534,7 @@ "email": "me@mikevanriel.com" } ], - "time": "2016-11-25 06:54:22" + "time": "2016-11-25T06:54:22+00:00" }, { "name": "phpmd/phpmd", @@ -600,7 +599,7 @@ "phpmd", "pmd" ], - "time": "2016-11-23 20:33:32" + "time": "2016-11-23T20:33:32+00:00" }, { "name": "phpspec/prophecy", @@ -663,20 +662,20 @@ "spy", "stub" ], - "time": "2016-11-21 14:58:47" + "time": "2016-11-21T14:58:47+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "4.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "903fd6318d0a90b4770a009ff73e4a4e9c437929" + "reference": "c14196e64a78570034afd0b7a9f3757ba71c2a0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/903fd6318d0a90b4770a009ff73e4a4e9c437929", - "reference": "903fd6318d0a90b4770a009ff73e4a4e9c437929", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c14196e64a78570034afd0b7a9f3757ba71c2a0a", + "reference": "c14196e64a78570034afd0b7a9f3757ba71c2a0a", "shasum": "" }, "require": { @@ -726,7 +725,7 @@ "testing", "xunit" ], - "time": "2016-11-28 16:00:31" + "time": "2016-12-20T15:22:42+00:00" }, { "name": "phpunit/php-file-iterator", @@ -773,7 +772,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03 07:40:28" + "time": "2016-10-03T07:40:28+00:00" }, { "name": "phpunit/php-text-template", @@ -814,7 +813,7 @@ "keywords": [ "template" ], - "time": "2015-06-21 13:50:34" + "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", @@ -858,7 +857,7 @@ "keywords": [ "timer" ], - "time": "2016-05-12 18:03:57" + "time": "2016-05-12T18:03:57+00:00" }, { "name": "phpunit/php-token-stream", @@ -907,20 +906,20 @@ "keywords": [ "tokenizer" ], - "time": "2016-11-15 14:06:22" + "time": "2016-11-15T14:06:22+00:00" }, { "name": "phpunit/phpunit", - "version": "5.7.4", + "version": "5.7.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "af91da3f2671006ff5d0628023de3b7ac4d1ef09" + "reference": "50fd2be8f3e23e91da825f36f08e5f9633076ffe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/af91da3f2671006ff5d0628023de3b7ac4d1ef09", - "reference": "af91da3f2671006ff5d0628023de3b7ac4d1ef09", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/50fd2be8f3e23e91da825f36f08e5f9633076ffe", + "reference": "50fd2be8f3e23e91da825f36f08e5f9633076ffe", "shasum": "" }, "require": { @@ -989,7 +988,7 @@ "testing", "xunit" ], - "time": "2016-12-13 16:19:44" + "time": "2016-12-28T07:18:51+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1048,7 +1047,7 @@ "mock", "xunit" ], - "time": "2016-12-08 20:27:08" + "time": "2016-12-08T20:27:08+00:00" }, { "name": "psr/log", @@ -1095,7 +1094,7 @@ "psr", "psr-3" ], - "time": "2016-10-10 12:19:37" + "time": "2016-10-10T12:19:37+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -1140,7 +1139,7 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2016-02-13 06:45:14" + "time": "2016-02-13T06:45:14+00:00" }, { "name": "sebastian/comparator", @@ -1204,7 +1203,7 @@ "compare", "equality" ], - "time": "2016-11-19 09:18:40" + "time": "2016-11-19T09:18:40+00:00" }, { "name": "sebastian/diff", @@ -1256,7 +1255,7 @@ "keywords": [ "diff" ], - "time": "2015-12-08 07:14:41" + "time": "2015-12-08T07:14:41+00:00" }, { "name": "sebastian/environment", @@ -1306,7 +1305,7 @@ "environment", "hhvm" ], - "time": "2016-11-26 07:53:53" + "time": "2016-11-26T07:53:53+00:00" }, { "name": "sebastian/exporter", @@ -1373,7 +1372,7 @@ "export", "exporter" ], - "time": "2016-11-19 08:54:04" + "time": "2016-11-19T08:54:04+00:00" }, { "name": "sebastian/finder-facade", @@ -1412,7 +1411,7 @@ ], "description": "FinderFacade is a convenience wrapper for Symfony's Finder component.", "homepage": "https://github.com/sebastianbergmann/finder-facade", - "time": "2016-02-17 07:02:23" + "time": "2016-02-17T07:02:23+00:00" }, { "name": "sebastian/global-state", @@ -1463,7 +1462,7 @@ "keywords": [ "global state" ], - "time": "2015-10-12 03:26:01" + "time": "2015-10-12T03:26:01+00:00" }, { "name": "sebastian/object-enumerator", @@ -1509,7 +1508,7 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2016-11-19 07:35:10" + "time": "2016-11-19T07:35:10+00:00" }, { "name": "sebastian/phpcpd", @@ -1560,7 +1559,7 @@ ], "description": "Copy/Paste Detector (CPD) for PHP code.", "homepage": "https://github.com/sebastianbergmann/phpcpd", - "time": "2016-04-17 19:32:49" + "time": "2016-04-17T19:32:49+00:00" }, { "name": "sebastian/recursion-context", @@ -1613,7 +1612,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-11-19 07:33:16" + "time": "2016-11-19T07:33:16+00:00" }, { "name": "sebastian/resource-operations", @@ -1655,7 +1654,7 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28 20:34:47" + "time": "2015-07-28T20:34:47+00:00" }, { "name": "sebastian/version", @@ -1698,7 +1697,7 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-10-03 07:35:21" + "time": "2016-10-03T07:35:21+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -1776,7 +1775,7 @@ "phpcs", "standards" ], - "time": "2016-11-30 04:02:31" + "time": "2016-11-30T04:02:31+00:00" }, { "name": "symfony/config", @@ -1832,7 +1831,7 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2016-12-09 07:45:17" + "time": "2016-12-09T07:45:17+00:00" }, { "name": "symfony/console", @@ -1895,7 +1894,7 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-12-11 14:34:22" + "time": "2016-12-11T14:34:22+00:00" }, { "name": "symfony/debug", @@ -1952,7 +1951,7 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2016-11-16 22:18:16" + "time": "2016-11-16T22:18:16+00:00" }, { "name": "symfony/dependency-injection", @@ -2015,7 +2014,7 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2016-12-08 15:27:33" + "time": "2016-12-08T15:27:33+00:00" }, { "name": "symfony/filesystem", @@ -2064,7 +2063,7 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2016-11-24 00:46:43" + "time": "2016-11-24T00:46:43+00:00" }, { "name": "symfony/finder", @@ -2113,7 +2112,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-12-13 09:39:43" + "time": "2016-12-13T09:39:43+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2172,7 +2171,7 @@ "portable", "shim" ], - "time": "2016-11-14 01:06:16" + "time": "2016-11-14T01:06:16+00:00" }, { "name": "symfony/yaml", @@ -2227,7 +2226,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-12-10 10:07:06" + "time": "2016-12-10T10:07:06+00:00" }, { "name": "theseer/fdomdocument", @@ -2267,7 +2266,7 @@ ], "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", "homepage": "https://github.com/theseer/fDOMDocument", - "time": "2015-05-27 22:58:02" + "time": "2015-05-27T22:58:02+00:00" }, { "name": "webmozart/assert", @@ -2317,7 +2316,7 @@ "check", "validate" ], - "time": "2016-11-23 20:04:58" + "time": "2016-11-23T20:04:58+00:00" } ], "aliases": [], From 6661eb06764b30375fe7ddac95e92baa9c5fd2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 21 Jan 2017 21:15:51 +0100 Subject: [PATCH 11/35] Update dependencies --- composer.lock | 103 +++++++++++++++++++++++++------------------------- 1 file changed, 52 insertions(+), 51 deletions(-) diff --git a/composer.lock b/composer.lock index 891b96d..b2824f2 100644 --- a/composer.lock +++ b/composer.lock @@ -259,16 +259,16 @@ }, { "name": "pdepend/pdepend", - "version": "2.3.2", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/pdepend/pdepend.git", - "reference": "8d7ab8fe8c1f9de5056bb7ea2c0852f4ddd44f90" + "reference": "0c50874333149c0dad5a2877801aed148f2767ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pdepend/pdepend/zipball/8d7ab8fe8c1f9de5056bb7ea2c0852f4ddd44f90", - "reference": "8d7ab8fe8c1f9de5056bb7ea2c0852f4ddd44f90", + "url": "https://api.github.com/repos/pdepend/pdepend/zipball/0c50874333149c0dad5a2877801aed148f2767ff", + "reference": "0c50874333149c0dad5a2877801aed148f2767ff", "shasum": "" }, "require": { @@ -295,7 +295,7 @@ "BSD-3-Clause" ], "description": "Official version of pdepend to be handled with Composer", - "time": "2016-11-23T20:25:02+00:00" + "time": "2017-01-19T14:23:36+00:00" }, { "name": "phing/phing", @@ -538,20 +538,21 @@ }, { "name": "phpmd/phpmd", - "version": "2.5.0", + "version": "2.6.0", "source": { "type": "git", "url": "https://github.com/phpmd/phpmd.git", - "reference": "9298602a922cd8c46666df8d540a60bc5925ce55" + "reference": "4e9924b2c157a3eb64395460fcf56b31badc8374" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmd/phpmd/zipball/9298602a922cd8c46666df8d540a60bc5925ce55", - "reference": "9298602a922cd8c46666df8d540a60bc5925ce55", + "url": "https://api.github.com/repos/phpmd/phpmd/zipball/4e9924b2c157a3eb64395460fcf56b31badc8374", + "reference": "4e9924b2c157a3eb64395460fcf56b31badc8374", "shasum": "" }, "require": { - "pdepend/pdepend": "^2.0.4", + "ext-xml": "*", + "pdepend/pdepend": "^2.5", "php": ">=5.3.9" }, "require-dev": { @@ -599,7 +600,7 @@ "phpmd", "pmd" ], - "time": "2016-11-23T20:33:32+00:00" + "time": "2017-01-20T14:41:10+00:00" }, { "name": "phpspec/prophecy", @@ -666,16 +667,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "c14196e64a78570034afd0b7a9f3757ba71c2a0a" + "reference": "c19cfc7cbb0e9338d8c469c7eedecc2a428b0971" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c14196e64a78570034afd0b7a9f3757ba71c2a0a", - "reference": "c14196e64a78570034afd0b7a9f3757ba71c2a0a", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c19cfc7cbb0e9338d8c469c7eedecc2a428b0971", + "reference": "c19cfc7cbb0e9338d8c469c7eedecc2a428b0971", "shasum": "" }, "require": { @@ -725,7 +726,7 @@ "testing", "xunit" ], - "time": "2016-12-20T15:22:42+00:00" + "time": "2017-01-20T15:06:43+00:00" }, { "name": "phpunit/php-file-iterator", @@ -1779,16 +1780,16 @@ }, { "name": "symfony/config", - "version": "v3.2.1", + "version": "v3.2.2", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "b4ec9f099599cfc5b7f4d07bb2e910781a2be5e4" + "reference": "c5ea878b5a7f6a01b9a2f182f905831711b9ff3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/b4ec9f099599cfc5b7f4d07bb2e910781a2be5e4", - "reference": "b4ec9f099599cfc5b7f4d07bb2e910781a2be5e4", + "url": "https://api.github.com/repos/symfony/config/zipball/c5ea878b5a7f6a01b9a2f182f905831711b9ff3f", + "reference": "c5ea878b5a7f6a01b9a2f182f905831711b9ff3f", "shasum": "" }, "require": { @@ -1831,20 +1832,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2016-12-09T07:45:17+00:00" + "time": "2017-01-02T20:32:22+00:00" }, { "name": "symfony/console", - "version": "v3.2.1", + "version": "v3.2.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d12aa9ca20f4db83ec58410978dab6afcb9d6aaa" + "reference": "4f9e449e76996adf310498a8ca955c6deebe29dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d12aa9ca20f4db83ec58410978dab6afcb9d6aaa", - "reference": "d12aa9ca20f4db83ec58410978dab6afcb9d6aaa", + "url": "https://api.github.com/repos/symfony/console/zipball/4f9e449e76996adf310498a8ca955c6deebe29dd", + "reference": "4f9e449e76996adf310498a8ca955c6deebe29dd", "shasum": "" }, "require": { @@ -1894,20 +1895,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2016-12-11T14:34:22+00:00" + "time": "2017-01-08T20:47:33+00:00" }, { "name": "symfony/debug", - "version": "v3.2.1", + "version": "v3.2.2", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "9f923e68d524a3095c5a2ae5fc7220c7cbc12231" + "reference": "810ba5c1c5352a4ddb15d4719e8936751dff0b05" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/9f923e68d524a3095c5a2ae5fc7220c7cbc12231", - "reference": "9f923e68d524a3095c5a2ae5fc7220c7cbc12231", + "url": "https://api.github.com/repos/symfony/debug/zipball/810ba5c1c5352a4ddb15d4719e8936751dff0b05", + "reference": "810ba5c1c5352a4ddb15d4719e8936751dff0b05", "shasum": "" }, "require": { @@ -1951,20 +1952,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2016-11-16T22:18:16+00:00" + "time": "2017-01-02T20:32:22+00:00" }, { "name": "symfony/dependency-injection", - "version": "v3.2.1", + "version": "v3.2.2", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "037054501c41007c93b6de1b5c7a7acb83523593" + "reference": "22b2c97cffc6a612db82084f9e7823b095958751" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/037054501c41007c93b6de1b5c7a7acb83523593", - "reference": "037054501c41007c93b6de1b5c7a7acb83523593", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/22b2c97cffc6a612db82084f9e7823b095958751", + "reference": "22b2c97cffc6a612db82084f9e7823b095958751", "shasum": "" }, "require": { @@ -2014,20 +2015,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2016-12-08T15:27:33+00:00" + "time": "2017-01-10T14:21:25+00:00" }, { "name": "symfony/filesystem", - "version": "v3.2.1", + "version": "v3.2.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "8d4cf7561a5b17e5eb7a02b80d0b8f014a3796d4" + "reference": "a0c6ef2dc78d33b58d91d3a49f49797a184d06f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/8d4cf7561a5b17e5eb7a02b80d0b8f014a3796d4", - "reference": "8d4cf7561a5b17e5eb7a02b80d0b8f014a3796d4", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/a0c6ef2dc78d33b58d91d3a49f49797a184d06f4", + "reference": "a0c6ef2dc78d33b58d91d3a49f49797a184d06f4", "shasum": "" }, "require": { @@ -2063,20 +2064,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2016-11-24T00:46:43+00:00" + "time": "2017-01-08T20:47:33+00:00" }, { "name": "symfony/finder", - "version": "v3.2.1", + "version": "v3.2.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "a69cb5d455b4885ca376dc5bb3e1155cc8c08c4b" + "reference": "8c71141cae8e2957946b403cc71a67213c0380d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/a69cb5d455b4885ca376dc5bb3e1155cc8c08c4b", - "reference": "a69cb5d455b4885ca376dc5bb3e1155cc8c08c4b", + "url": "https://api.github.com/repos/symfony/finder/zipball/8c71141cae8e2957946b403cc71a67213c0380d6", + "reference": "8c71141cae8e2957946b403cc71a67213c0380d6", "shasum": "" }, "require": { @@ -2112,7 +2113,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2016-12-13T09:39:43+00:00" + "time": "2017-01-02T20:32:22+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2175,16 +2176,16 @@ }, { "name": "symfony/yaml", - "version": "v3.2.1", + "version": "v3.2.2", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "a7095af4b97a0955f85c8989106c249fa649011f" + "reference": "50eadbd7926e31842893c957eca362b21592a97d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/a7095af4b97a0955f85c8989106c249fa649011f", - "reference": "a7095af4b97a0955f85c8989106c249fa649011f", + "url": "https://api.github.com/repos/symfony/yaml/zipball/50eadbd7926e31842893c957eca362b21592a97d", + "reference": "50eadbd7926e31842893c957eca362b21592a97d", "shasum": "" }, "require": { @@ -2226,7 +2227,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2016-12-10T10:07:06+00:00" + "time": "2017-01-03T13:51:32+00:00" }, { "name": "theseer/fdomdocument", From 7c10811c11f60436896c28f6eb350964c9db1709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 5 Feb 2017 15:00:58 +0100 Subject: [PATCH 12/35] Use generic RTD conf.py --- docs/src/conf.py | 138 +++++++++++++++++++++++++---------------------- 1 file changed, 73 insertions(+), 65 deletions(-) diff --git a/docs/src/conf.py b/docs/src/conf.py index f000987..2c2b2e8 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import os +from os.path import join, dirname import sys import glob import shutil @@ -17,7 +18,8 @@ def prepare(globs, locs): # Where are we? cwd = os.getcwd() - root = os.path.abspath(os.path.join(cwd, '..', '..')) + root = os.path.abspath(join(cwd, '..', '..')) + deps = os.path.abspath(join(cwd, dirname(__file__), 'php-requirements.txt')) git = Popen('which git 2> %s' % os.devnull, shell=True, stdout=PIPE).stdout.read().strip() @@ -26,9 +28,10 @@ def prepare(globs, locs): locs['rtd_slug'] = os.path.basename(os.path.dirname(os.path.dirname(root))) locs['rtd_version'] = os.path.basename(root) - pybabel = os.path.join(root, '..', '..', 'envs', - locs['rtd_version'], 'bin', 'pybabel') + pybabel = join(root, '..', '..', 'envs', locs['rtd_version'], 'bin', 'pybabel') + builder = sys.argv[sys.argv.index('-b') + 1] + print "builder:", builder print "git version:" call([git, '--version']) print "doxygen version:" @@ -57,8 +60,6 @@ def prepare(globs, locs): if project.endswith('.git'): project = project[:-4] os.environ['SPHINX_PROJECT'] = project - component = project.replace('Module_', 'Erebot_Module_') - if git_tag: os.environ['SPHINX_VERSION'] = git_tag os.environ['SPHINX_RELEASE'] = git_tag @@ -69,96 +70,103 @@ def prepare(globs, locs): os.environ['SPHINX_RELEASE'] = 'latest-%s' % (commit, ) locs['tags'].add('devel') + # Common dependencies + dependencies = [ + ('git://github.com/Erebot/Buildenv.git', 'vendor/erebot/buildenv'), + ('git://github.com/fpoirotte/PHPNatives4Doxygen', 'vendor/fpoirotte/natives4doxygen'), + ] + + # Project-specific dependencies + try: + with open(deps, 'r') as fd: + dependencies += [line.split() for line in fd.readlines()] + except: + pass + # Clone or update dependencies - buildenv = os.path.join(root, 'vendor', 'erebot', 'buildenv') - natives = os.path.join(root, 'vendor', 'fpoirotte', 'natives4doxygen') - for repository, path in ( - ('git://github.com/Erebot/Buildenv.git', buildenv), - ('git://github.com/fpoirotte/PHPNatives4Doxygen', natives), - ): + for repository, path in dependencies: + path = join(root, path) if not os.path.isdir(path): os.makedirs(path) print "Cloning %s into %s..." % (repository, path) call([git, 'clone', repository, path]) - elif os.path.isdir(os.path.join(path, '.git')): + elif os.path.isdir(join(path, '.git')): os.chdir(path) print "Updating clone of %s in %s..." % (repository, path) call([git, 'checkout', 'master']) call([git, 'pull']) os.chdir(root) - composer = json.load(open(os.path.join(root, 'composer.json'), 'r')) - - # Run doxygen - call([doxygen, os.path.join(root, 'Doxyfile')], env={ - 'COMPONENT_NAME': os.environ['SPHINX_PROJECT'], - 'COMPONENT_VERSION': os.environ['SPHINX_VERSION'], - 'COMPONENT_BRIEF': composer.get('description', ''), - }) - - # Remove extra files/folders. - try: - shutil.rmtree(os.path.join(root, 'build')) - except OSError: - pass - os.mkdir(os.path.join(root, 'build')) - shutil.move( - os.path.join(root, 'docs', 'api', 'html'), - os.path.join(root, 'build', 'apidoc'), - ) - try: + composer = json.load(open(join(root, 'composer.json'), 'r')) + + if builder == 'readthedocs': + # Run doxygen + call([doxygen, join(root, 'Doxyfile')], env={ + 'COMPONENT_NAME': os.environ['SPHINX_PROJECT'], + 'COMPONENT_VERSION': os.environ['SPHINX_VERSION'], + 'COMPONENT_BRIEF': composer.get('description', ''), + }) + + # Copy API doc to final place, + # overwriting files as necessary. + try: + shutil.rmtree(join(root, 'build')) + except OSError: + pass + os.mkdir(join(root, 'build')) shutil.move( - os.path.join(root, '%s.tagfile.xml' % component), - os.path.join(root, 'build', 'apidoc', '%s.tagfile.xml' % component) + join(root, 'docs', 'api', 'html'), + join(root, 'build', 'apidoc'), ) - except OSError: - pass + try: + shutil.move( + join(root, '%s.tagfile.xml' % + os.environ['SPHINX_PROJECT']), + join(root, 'build', 'apidoc', '%s.tagfile.xml' % + os.environ['SPHINX_PROJECT']) + ) + except OSError: + pass + + # Copy translations for generic docs to catalogs folder. + gen_i18n = join(root, 'docs', 'src', 'generic', 'i18n', '.')[:-1] + for translation in glob.iglob(join(gen_i18n, '*')): + target_dir = join( + root, 'docs', 'i18n', + translation[len(gen_i18n):], + 'LC_MESSAGES', 'generic' + ) + translation = join(translation, 'LC_MESSAGES', 'generic') + shutil.rmtree(target_dir, ignore_errors=True) + shutil.copytree(translation, target_dir) # Compile translation catalogs. - for locale_dir in glob.iglob(os.path.join(root, 'docs', 'i18n', '*')): + for locale_dir in glob.iglob(join(root, 'docs', 'i18n', '*')): for base, dirnames, filenames in os.walk(locale_dir): for po in fnmatch.filter(filenames, '*.po'): - po = os.path.join(base, po) + po = join(base, po) mo = po[:-3] + '.mo' call([pybabel, 'compile', '-f', '--statistics', '-i', po, '-o', mo]) # Load the real Sphinx configuration file. os.chdir(cwd) - real_conf = os.path.join(buildenv, 'sphinx', 'conf.py') + real_conf = join(root, 'vendor', 'erebot', 'buildenv', 'sphinx', 'conf.py') print "Including real configuration file (%s)..." % (real_conf, ) execfile(real_conf, globs, locs) # Patch configuration afterwards. - locs['copyright'] = u'2012-%d, XRL Team. All rights reserved' % datetime.now().year - # - Theme - if 'html_extra_path' not in locs: - locs['html_extra_path'] = [] - locs['html_extra_path'].append(os.path.join(root, 'build')) + locs.setdefault('html_extra_path', []).append(join(root, 'build')) locs['html_theme'] = 'haiku' - # - I18N - if 'locale_dirs' not in locs: - locs['locale_dirs'] = [] - locs['locale_dirs'].insert(0, os.path.join(root, 'docs', 'i18n')) - - if 'rst_prolog' not in locs: - locs['rst_prolog'] = '' - locs['rst_prolog'] += '\n .. _`this_commit`: https://github.com/%s/%s/commit/%s\n' % ( - vendor, - project, - git_hash, - ) - - # - Custom roles - if 'doxylinks' in locs and 'api' in locs['doxylinks']: - locs['doxylinks']['api'] = ( - locs['doxylinks']['api'][0], - 'file://%s' % urllib.quote( - os.path.join(root, 'build', 'apidoc', '%s.tagfile.xml' % component) - ) + locs.setdefault('locale_dirs', []).insert(0, join(root, 'docs', 'i18n')) + # - misc. + locs['rst_prolog'] = locs.get('rst_prolog', '') + \ + '\n .. _`this_commit`: https://github.com/%s/%s/commit/%s\n' % ( + vendor, + project, + git_hash, ) - prepare(globals(), locals()) From b347db90d6527905a29f0881173029047c45208f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 5 Feb 2017 16:26:20 +0100 Subject: [PATCH 13/35] Update dependencies --- composer.lock | 69 +++++++++++++++++++++++++-------------------------- 1 file changed, 34 insertions(+), 35 deletions(-) diff --git a/composer.lock b/composer.lock index b2824f2..1f65412 100644 --- a/composer.lock +++ b/composer.lock @@ -217,16 +217,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.5.5", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108" + "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/399c1f9781e222f6eb6cc238796f5200d1b7f108", - "reference": "399c1f9781e222f6eb6cc238796f5200d1b7f108", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/5a5a9fc8025a08d8919be87d6884d5a92520cefe", + "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe", "shasum": "" }, "require": { @@ -255,7 +255,7 @@ "object", "object graph" ], - "time": "2016-10-31T17:19:45+00:00" + "time": "2017-01-26T22:05:40+00:00" }, { "name": "pdepend/pdepend", @@ -911,16 +911,16 @@ }, { "name": "phpunit/phpunit", - "version": "5.7.5", + "version": "5.7.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "50fd2be8f3e23e91da825f36f08e5f9633076ffe" + "reference": "bf0804199f516fe80ffcc48ac6d4741c49baeb6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/50fd2be8f3e23e91da825f36f08e5f9633076ffe", - "reference": "50fd2be8f3e23e91da825f36f08e5f9633076ffe", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/bf0804199f516fe80ffcc48ac6d4741c49baeb6e", + "reference": "bf0804199f516fe80ffcc48ac6d4741c49baeb6e", "shasum": "" }, "require": { @@ -932,16 +932,16 @@ "myclabs/deep-copy": "~1.3", "php": "^5.6 || ^7.0", "phpspec/prophecy": "^1.6.2", - "phpunit/php-code-coverage": "^4.0.3", + "phpunit/php-code-coverage": "^4.0.4", "phpunit/php-file-iterator": "~1.4", "phpunit/php-text-template": "~1.2", "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^3.2", - "sebastian/comparator": "~1.2.2", + "sebastian/comparator": "^1.2.4", "sebastian/diff": "~1.2", "sebastian/environment": "^1.3.4 || ^2.0", "sebastian/exporter": "~2.0", - "sebastian/global-state": "^1.0 || ^2.0", + "sebastian/global-state": "^1.1", "sebastian/object-enumerator": "~2.0", "sebastian/resource-operations": "~1.0", "sebastian/version": "~1.0|~2.0", @@ -989,7 +989,7 @@ "testing", "xunit" ], - "time": "2016-12-28T07:18:51+00:00" + "time": "2017-02-04T09:03:53+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1144,16 +1144,16 @@ }, { "name": "sebastian/comparator", - "version": "1.2.2", + "version": "1.2.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "6a1ed12e8b2409076ab22e3897126211ff8b1f7f" + "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/6a1ed12e8b2409076ab22e3897126211ff8b1f7f", - "reference": "6a1ed12e8b2409076ab22e3897126211ff8b1f7f", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", "shasum": "" }, "require": { @@ -1204,7 +1204,7 @@ "compare", "equality" ], - "time": "2016-11-19T09:18:40+00:00" + "time": "2017-01-29T09:50:25+00:00" }, { "name": "sebastian/diff", @@ -1513,25 +1513,24 @@ }, { "name": "sebastian/phpcpd", - "version": "2.0.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpcpd.git", - "reference": "24d9a880deadb0b8c9680e9cfe78e30b704225db" + "reference": "d7006078b75a34c9250831c3453a2e256a687615" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpcpd/zipball/24d9a880deadb0b8c9680e9cfe78e30b704225db", - "reference": "24d9a880deadb0b8c9680e9cfe78e30b704225db", + "url": "https://api.github.com/repos/sebastianbergmann/phpcpd/zipball/d7006078b75a34c9250831c3453a2e256a687615", + "reference": "d7006078b75a34c9250831c3453a2e256a687615", "shasum": "" }, "require": { - "php": ">=5.3.3", - "phpunit/php-timer": ">=1.0.6", - "sebastian/finder-facade": "~1.1", - "sebastian/version": "~1.0|~2.0", - "symfony/console": "~2.7|^3.0", - "theseer/fdomdocument": "~1.4" + "php": "^5.6|^7.0", + "phpunit/php-timer": "^1.0.6", + "sebastian/finder-facade": "^1.1", + "sebastian/version": "^2.0", + "symfony/console": "^3.0" }, "bin": [ "phpcpd" @@ -1539,7 +1538,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -1560,7 +1559,7 @@ ], "description": "Copy/Paste Detector (CPD) for PHP code.", "homepage": "https://github.com/sebastianbergmann/phpcpd", - "time": "2016-04-17T19:32:49+00:00" + "time": "2017-02-05T07:48:01+00:00" }, { "name": "sebastian/recursion-context", @@ -1702,16 +1701,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "2.7.1", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "9b324f3a1132459a7274a0ace2e1b766ba80930f" + "reference": "86dd55a522238211f9f3631e3361703578941d9a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9b324f3a1132459a7274a0ace2e1b766ba80930f", - "reference": "9b324f3a1132459a7274a0ace2e1b766ba80930f", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/86dd55a522238211f9f3631e3361703578941d9a", + "reference": "86dd55a522238211f9f3631e3361703578941d9a", "shasum": "" }, "require": { @@ -1776,7 +1775,7 @@ "phpcs", "standards" ], - "time": "2016-11-30T04:02:31+00:00" + "time": "2017-02-02T03:30:00+00:00" }, { "name": "symfony/config", From 16e9068cf2ad94dbdb74e22027ffd13d0acedf90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 5 Feb 2017 23:21:50 +0100 Subject: [PATCH 14/35] Add compat layer --- tests/bootstrap.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 20d77e0..dc2baf5 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -29,3 +29,7 @@ DIRECTORY_SEPARATOR . 'Test' . $stub . '.php' ); } + +if (!class_exists('PHPUnit_Framework_TestCase')) { + class_alias('\\PHPUnit\\Framework\\TestCase', 'PHPUnit_Framework_TestCase'); +} From 642be29af93f5f6bf1d3721ec84c01665f0ec02a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 5 Feb 2017 23:40:30 +0100 Subject: [PATCH 15/35] More compat --- tests/bootstrap.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index dc2baf5..05f2960 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -33,3 +33,7 @@ if (!class_exists('PHPUnit_Framework_TestCase')) { class_alias('\\PHPUnit\\Framework\\TestCase', 'PHPUnit_Framework_TestCase'); } + +if (!class_exists('PHPUnit_Framework_Error')) { + class_alias('\\PHPUnit\\Framework\\Error', 'PHPUnit_Framework_Error'); +} From 91a30ec6fc556b14155256c7909bf939c10d73e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Mon, 6 Feb 2017 23:56:43 +0100 Subject: [PATCH 16/35] Update dependencies --- composer.lock | 159 +++++++++++++++++++++++++------------------------- 1 file changed, 79 insertions(+), 80 deletions(-) diff --git a/composer.lock b/composer.lock index 1f65412..fbfe547 100644 --- a/composer.lock +++ b/composer.lock @@ -63,23 +63,23 @@ }, { "name": "erebot/buildenv", - "version": "1.2.8", + "version": "1.2.9", "source": { "type": "git", "url": "https://github.com/Erebot/Buildenv.git", - "reference": "b16fc3a30bf2ebdf0a962d5e6af06e220a76ced5" + "reference": "698441b05d1d2535a5e9aedb28e97074db50e590" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Erebot/Buildenv/zipball/b16fc3a30bf2ebdf0a962d5e6af06e220a76ced5", - "reference": "b16fc3a30bf2ebdf0a962d5e6af06e220a76ced5", + "url": "https://api.github.com/repos/Erebot/Buildenv/zipball/698441b05d1d2535a5e9aedb28e97074db50e590", + "reference": "698441b05d1d2535a5e9aedb28e97074db50e590", "shasum": "" }, "require": { "ext-json": "*", "ext-phar": "*", "ext-xsl": "*", - "phing/phing": ">=2.9.0", + "phing/phing": "^2.9.0", "php": ">=5.2.2" }, "require-dev": { @@ -104,11 +104,11 @@ } ], "description": "Build environment for the Erebot project", - "homepage": "https://github.com/Erebot/Erebot_Buildenv", + "homepage": "https://github.com/Erebot/Buildenv", "keywords": [ "Erebot" ], - "time": "2014-12-30T11:49:48+00:00" + "time": "2017-02-05T15:51:54+00:00" }, { "name": "erebot/plop", @@ -667,40 +667,39 @@ }, { "name": "phpunit/php-code-coverage", - "version": "4.0.5", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "c19cfc7cbb0e9338d8c469c7eedecc2a428b0971" + "reference": "e7d7a4acca58e45bdfd00221563d131cfb04ba96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/c19cfc7cbb0e9338d8c469c7eedecc2a428b0971", - "reference": "c19cfc7cbb0e9338d8c469c7eedecc2a428b0971", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e7d7a4acca58e45bdfd00221563d131cfb04ba96", + "reference": "e7d7a4acca58e45bdfd00221563d131cfb04ba96", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0", - "phpunit/php-file-iterator": "~1.3", - "phpunit/php-text-template": "~1.2", + "php": "^7.0", + "phpunit/php-file-iterator": "^1.3", + "phpunit/php-text-template": "^1.2", "phpunit/php-token-stream": "^1.4.2", - "sebastian/code-unit-reverse-lookup": "~1.0", - "sebastian/environment": "^1.3.2 || ^2.0", - "sebastian/version": "~1.0|~2.0" + "sebastian/code-unit-reverse-lookup": "^1.0", + "sebastian/environment": "^2.0", + "sebastian/version": "^2.0" }, "require-dev": { - "ext-xdebug": ">=2.1.4", - "phpunit/phpunit": "^5.4" + "ext-xdebug": "^2.5", + "phpunit/phpunit": "^6.0" }, "suggest": { "ext-dom": "*", - "ext-xdebug": ">=2.4.0", "ext-xmlwriter": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0.x-dev" + "dev-master": "5.0.x-dev" } }, "autoload": { @@ -726,7 +725,7 @@ "testing", "xunit" ], - "time": "2017-01-20T15:06:43+00:00" + "time": "2017-02-02T10:35:41+00:00" }, { "name": "phpunit/php-file-iterator", @@ -911,16 +910,16 @@ }, { "name": "phpunit/phpunit", - "version": "5.7.10", + "version": "6.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "bf0804199f516fe80ffcc48ac6d4741c49baeb6e" + "reference": "1fb01cbd5aa7fa2457cc10170070676a9ad315d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/bf0804199f516fe80ffcc48ac6d4741c49baeb6e", - "reference": "bf0804199f516fe80ffcc48ac6d4741c49baeb6e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1fb01cbd5aa7fa2457cc10170070676a9ad315d2", + "reference": "1fb01cbd5aa7fa2457cc10170070676a9ad315d2", "shasum": "" }, "require": { @@ -929,33 +928,33 @@ "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "myclabs/deep-copy": "~1.3", - "php": "^5.6 || ^7.0", + "myclabs/deep-copy": "^1.3", + "php": "^7.0", "phpspec/prophecy": "^1.6.2", - "phpunit/php-code-coverage": "^4.0.4", - "phpunit/php-file-iterator": "~1.4", - "phpunit/php-text-template": "~1.2", + "phpunit/php-code-coverage": "^5.0", + "phpunit/php-file-iterator": "^1.4", + "phpunit/php-text-template": "^1.2", "phpunit/php-timer": "^1.0.6", - "phpunit/phpunit-mock-objects": "^3.2", + "phpunit/phpunit-mock-objects": "^4.0", "sebastian/comparator": "^1.2.4", - "sebastian/diff": "~1.2", - "sebastian/environment": "^1.3.4 || ^2.0", - "sebastian/exporter": "~2.0", + "sebastian/diff": "^1.2", + "sebastian/environment": "^2.0", + "sebastian/exporter": "^2.0", "sebastian/global-state": "^1.1", - "sebastian/object-enumerator": "~2.0", - "sebastian/resource-operations": "~1.0", - "sebastian/version": "~1.0|~2.0", - "symfony/yaml": "~2.1|~3.0" + "sebastian/object-enumerator": "^2.0", + "sebastian/resource-operations": "^1.0", + "sebastian/version": "^2.0" }, "conflict": { - "phpdocumentor/reflection-docblock": "3.0.2" + "phpdocumentor/reflection-docblock": "3.0.2", + "phpunit/dbunit": "<3.0" }, "require-dev": { "ext-pdo": "*" }, "suggest": { "ext-xdebug": "*", - "phpunit/php-invoker": "~1.1" + "phpunit/php-invoker": "^1.1" }, "bin": [ "phpunit" @@ -963,7 +962,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.7.x-dev" + "dev-master": "6.0.x-dev" } }, "autoload": { @@ -989,33 +988,33 @@ "testing", "xunit" ], - "time": "2017-02-04T09:03:53+00:00" + "time": "2017-02-05T15:33:43+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "3.4.3", + "version": "4.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24" + "reference": "3819745c44f3aff9518fd655f320c4535d541af7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", - "reference": "3ab72b65b39b491e0c011e2e09bb2206c2aa8e24", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3819745c44f3aff9518fd655f320c4535d541af7", + "reference": "3819745c44f3aff9518fd655f320c4535d541af7", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", - "php": "^5.6 || ^7.0", + "php": "^7.0", "phpunit/php-text-template": "^1.2", - "sebastian/exporter": "^1.2 || ^2.0" + "sebastian/exporter": "^2.0" }, "conflict": { - "phpunit/phpunit": "<5.4.0" + "phpunit/phpunit": "<6.0" }, "require-dev": { - "phpunit/phpunit": "^5.4" + "phpunit/phpunit": "^6.0" }, "suggest": { "ext-soap": "*" @@ -1023,7 +1022,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2.x-dev" + "dev-master": "4.0.x-dev" } }, "autoload": { @@ -1048,7 +1047,7 @@ "mock", "xunit" ], - "time": "2016-12-08T20:27:08+00:00" + "time": "2017-02-02T10:36:38+00:00" }, { "name": "psr/log", @@ -1779,16 +1778,16 @@ }, { "name": "symfony/config", - "version": "v3.2.2", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "c5ea878b5a7f6a01b9a2f182f905831711b9ff3f" + "reference": "2ffa7b84d647b8be1788d46b44e438cb3d62056c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/c5ea878b5a7f6a01b9a2f182f905831711b9ff3f", - "reference": "c5ea878b5a7f6a01b9a2f182f905831711b9ff3f", + "url": "https://api.github.com/repos/symfony/config/zipball/2ffa7b84d647b8be1788d46b44e438cb3d62056c", + "reference": "2ffa7b84d647b8be1788d46b44e438cb3d62056c", "shasum": "" }, "require": { @@ -1831,20 +1830,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2017-01-02T20:32:22+00:00" + "time": "2017-02-06T12:04:21+00:00" }, { "name": "symfony/console", - "version": "v3.2.2", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "4f9e449e76996adf310498a8ca955c6deebe29dd" + "reference": "7a8405a9fc175f87fed8a3c40856b0d866d61936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/4f9e449e76996adf310498a8ca955c6deebe29dd", - "reference": "4f9e449e76996adf310498a8ca955c6deebe29dd", + "url": "https://api.github.com/repos/symfony/console/zipball/7a8405a9fc175f87fed8a3c40856b0d866d61936", + "reference": "7a8405a9fc175f87fed8a3c40856b0d866d61936", "shasum": "" }, "require": { @@ -1894,20 +1893,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2017-01-08T20:47:33+00:00" + "time": "2017-02-06T12:04:21+00:00" }, { "name": "symfony/debug", - "version": "v3.2.2", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "810ba5c1c5352a4ddb15d4719e8936751dff0b05" + "reference": "b4d9818f127c60ce21ed62c395da7df868dc8477" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/810ba5c1c5352a4ddb15d4719e8936751dff0b05", - "reference": "810ba5c1c5352a4ddb15d4719e8936751dff0b05", + "url": "https://api.github.com/repos/symfony/debug/zipball/b4d9818f127c60ce21ed62c395da7df868dc8477", + "reference": "b4d9818f127c60ce21ed62c395da7df868dc8477", "shasum": "" }, "require": { @@ -1951,20 +1950,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2017-01-02T20:32:22+00:00" + "time": "2017-01-28T02:37:08+00:00" }, { "name": "symfony/dependency-injection", - "version": "v3.2.2", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "22b2c97cffc6a612db82084f9e7823b095958751" + "reference": "388d368887f128ff3e47654718e29c5011601dce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/22b2c97cffc6a612db82084f9e7823b095958751", - "reference": "22b2c97cffc6a612db82084f9e7823b095958751", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/388d368887f128ff3e47654718e29c5011601dce", + "reference": "388d368887f128ff3e47654718e29c5011601dce", "shasum": "" }, "require": { @@ -2014,11 +2013,11 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2017-01-10T14:21:25+00:00" + "time": "2017-01-28T02:37:08+00:00" }, { "name": "symfony/filesystem", - "version": "v3.2.2", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", @@ -2067,7 +2066,7 @@ }, { "name": "symfony/finder", - "version": "v3.2.2", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", @@ -2175,16 +2174,16 @@ }, { "name": "symfony/yaml", - "version": "v3.2.2", + "version": "v3.2.3", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "50eadbd7926e31842893c957eca362b21592a97d" + "reference": "e1718c6bf57e1efbb8793ada951584b2ab27775b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/50eadbd7926e31842893c957eca362b21592a97d", - "reference": "50eadbd7926e31842893c957eca362b21592a97d", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e1718c6bf57e1efbb8793ada951584b2ab27775b", + "reference": "e1718c6bf57e1efbb8793ada951584b2ab27775b", "shasum": "" }, "require": { @@ -2226,7 +2225,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-01-03T13:51:32+00:00" + "time": "2017-01-21T17:06:35+00:00" }, { "name": "theseer/fdomdocument", From d4f24ad20ec0bdb3756cd1a3ed89fbd17d453c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Mon, 6 Feb 2017 23:56:53 +0100 Subject: [PATCH 17/35] Forward compat with phpunit --- tests/AttacksTest.php | 2 +- tests/AutoloadTest.php | 15 +++------------ tests/CallableObjectTest.php | 2 +- tests/CapableServerTest.php | 2 +- tests/ClientTest.php | 2 +- tests/DecoderTest.php | 2 +- tests/EncoderTest.php | 2 +- tests/FaultsTest.php | 2 +- tests/NativeDecoderTest.php | 2 +- tests/NativeEncoderTest.php | 2 +- tests/NodeTest.php | 2 +- tests/OutputTest.php | 2 +- tests/RequestTest.php | 2 +- tests/ResponseTest.php | 2 +- tests/ServerTest.php | 2 +- tests/bootstrap.php | 10 +++++----- 16 files changed, 22 insertions(+), 31 deletions(-) diff --git a/tests/AttacksTest.php b/tests/AttacksTest.php index 5c8dd17..9dbf1aa 100644 --- a/tests/AttacksTest.php +++ b/tests/AttacksTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Attacks extends \PHPUnit_Framework_TestCase +class Attacks extends \PHPUnit\Framework\TestCase { // // Server diff --git a/tests/AutoloadTest.php b/tests/AutoloadTest.php index dea10e8..627844c 100644 --- a/tests/AutoloadTest.php +++ b/tests/AutoloadTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Autoload extends \PHPUnit_Framework_TestCase +class Autoload extends \PHPUnit\Framework\TestCase { public function setUp() { @@ -34,26 +34,17 @@ public function testAutoload2() $this->assertFalse(class_exists('\\fpoirotte\\some_inexistent_class')); } - /** - * @covers \fpoirotte\XRL\Autoload - * @expectedException \PHPUnit_Framework_Error - */ - public function testAutoload3() - { - $dummy = class_exists('\\fpoirotte\\XRL\\some_inexistent_class'); - } - /** * See https://bugs.php.net/bug.php?id=55475 * for more information about the meaning of this test. * * @covers \fpoirotte\XRL\Autoload */ - public function testAutoload4() + public function testAutoload3() { if (version_compare(PHP_VERSION, '5.3.7', '<') || version_compare(PHP_VERSION, '5.3.8', '>')) { - return; + return $this->assertTrue(true); } $this->setExpectedException( '\\Exception', diff --git a/tests/CallableObjectTest.php b/tests/CallableObjectTest.php index 8aeed12..3f61194 100644 --- a/tests/CallableObjectTest.php +++ b/tests/CallableObjectTest.php @@ -42,7 +42,7 @@ public function __invoke($s) } -class CallableObject extends \PHPUnit_Framework_TestCase +class CallableObject extends \PHPUnit\Framework\TestCase { public function referenceProvider() { diff --git a/tests/CapableServerTest.php b/tests/CapableServerTest.php index 37a51d1..9c0bfed 100644 --- a/tests/CapableServerTest.php +++ b/tests/CapableServerTest.php @@ -69,7 +69,7 @@ public function invalidMarkup($foo) } } -class CapableServer extends \PHPUnit_Framework_TestCase +class CapableServer extends \PHPUnit\Framework\TestCase { protected $server; protected $capableServer; diff --git a/tests/ClientTest.php b/tests/ClientTest.php index 8aab0bd..1e11c31 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Client extends \PHPUnit_Framework_TestCase +class Client extends \PHPUnit\Framework\TestCase { public function setUp() { diff --git a/tests/DecoderTest.php b/tests/DecoderTest.php index b5b75db..e1d80f6 100644 --- a/tests/DecoderTest.php +++ b/tests/DecoderTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Decoder extends \PHPUnit_Framework_TestCase +class Decoder extends \PHPUnit\Framework\TestCase { public function getRequest($path) { diff --git a/tests/EncoderTest.php b/tests/EncoderTest.php index 571fc88..957e829 100644 --- a/tests/EncoderTest.php +++ b/tests/EncoderTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Encoder extends \PHPUnit_Framework_TestCase +class Encoder extends \PHPUnit\Framework\TestCase { protected $encoder; diff --git a/tests/FaultsTest.php b/tests/FaultsTest.php index 4306694..1a9c328 100644 --- a/tests/FaultsTest.php +++ b/tests/FaultsTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Faults extends \PHPUnit_Framework_TestCase +class Faults extends \PHPUnit\Framework\TestCase { public function setUp() { diff --git a/tests/NativeDecoderTest.php b/tests/NativeDecoderTest.php index d1ec35b..23dbee8 100644 --- a/tests/NativeDecoderTest.php +++ b/tests/NativeDecoderTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class NativeDecoder extends \PHPUnit_Framework_TestCase +class NativeDecoder extends \PHPUnit\Framework\TestCase { public function setUp() { diff --git a/tests/NativeEncoderTest.php b/tests/NativeEncoderTest.php index 1554ee0..8cfbcd2 100644 --- a/tests/NativeEncoderTest.php +++ b/tests/NativeEncoderTest.php @@ -49,7 +49,7 @@ class NonSerialClass { } -class NativeEncoder extends \PHPUnit_Framework_TestCase +class NativeEncoder extends \PHPUnit\Framework\TestCase { public function setUp() { diff --git a/tests/NodeTest.php b/tests/NodeTest.php index 8160335..373ffd6 100644 --- a/tests/NodeTest.php +++ b/tests/NodeTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Node extends \PHPUnit_Framework_TestCase +class Node extends \PHPUnit\Framework\TestCase { protected $reader; protected $data; diff --git a/tests/OutputTest.php b/tests/OutputTest.php index 694a5f5..25e02af 100644 --- a/tests/OutputTest.php +++ b/tests/OutputTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Output extends \PHPUnit_Framework_TestCase +class Output extends \PHPUnit\Framework\TestCase { protected $stream; diff --git a/tests/RequestTest.php b/tests/RequestTest.php index 337d0b2..183052a 100644 --- a/tests/RequestTest.php +++ b/tests/RequestTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Request extends \PHPUnit_Framework_TestCase +class Request extends \PHPUnit\Framework\TestCase { /** * @covers \fpoirotte\XRL\Request::__construct diff --git a/tests/ResponseTest.php b/tests/ResponseTest.php index 72c02fc..de11338 100644 --- a/tests/ResponseTest.php +++ b/tests/ResponseTest.php @@ -28,7 +28,7 @@ protected function finalize($result) } } -class Response extends \PHPUnit_Framework_TestCase +class Response extends \PHPUnit\Framework\TestCase { /** * @covers \fpoirotte\XRL\Response::__construct diff --git a/tests/ServerTest.php b/tests/ServerTest.php index ad3d200..8fb6bfa 100644 --- a/tests/ServerTest.php +++ b/tests/ServerTest.php @@ -11,7 +11,7 @@ namespace fpoirotte\XRL\tests; -class Server extends \PHPUnit_Framework_TestCase +class Server extends \PHPUnit\Framework\TestCase { protected $server; protected $cls; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 05f2960..7de7c51 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -30,10 +30,10 @@ ); } -if (!class_exists('PHPUnit_Framework_TestCase')) { - class_alias('\\PHPUnit\\Framework\\TestCase', 'PHPUnit_Framework_TestCase'); +// HACK: backward compatibility with PHPUnit releases that lacked namespaces. +if (!class_exists('PHPUnit\\Framework\\TestResult')) { + class_alias('PHPUnit_Framework_TestResult', 'PHPUnit\\Framework\\TestResult'); } - -if (!class_exists('PHPUnit_Framework_Error')) { - class_alias('\\PHPUnit\\Framework\\Error', 'PHPUnit_Framework_Error'); +if (!class_exists('PHPUnit\\Framework\\TestCase')) { + class_alias('PHPUnit_Framework_TestCase', 'PHPUnit\\Framework\\TestCase'); } From e7149fa0789dfc91286e0d0d02d96d0bf5d17239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 25 Feb 2017 20:33:49 +0100 Subject: [PATCH 18/35] Update dependencies --- composer.lock | 96 +++++++++++++++++++++++++-------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/composer.lock b/composer.lock index fbfe547..4fb4b3d 100644 --- a/composer.lock +++ b/composer.lock @@ -667,23 +667,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "5.0.0", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "e7d7a4acca58e45bdfd00221563d131cfb04ba96" + "reference": "3f10a2c8eed68b29cbbb54e29cc58cb31b077553" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e7d7a4acca58e45bdfd00221563d131cfb04ba96", - "reference": "e7d7a4acca58e45bdfd00221563d131cfb04ba96", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/3f10a2c8eed68b29cbbb54e29cc58cb31b077553", + "reference": "3f10a2c8eed68b29cbbb54e29cc58cb31b077553", "shasum": "" }, "require": { "php": "^7.0", "phpunit/php-file-iterator": "^1.3", "phpunit/php-text-template": "^1.2", - "phpunit/php-token-stream": "^1.4.2", + "phpunit/php-token-stream": "^1.4.2 || ^2.0", "sebastian/code-unit-reverse-lookup": "^1.0", "sebastian/environment": "^2.0", "sebastian/version": "^2.0" @@ -725,7 +725,7 @@ "testing", "xunit" ], - "time": "2017-02-02T10:35:41+00:00" + "time": "2017-02-23T07:27:58+00:00" }, { "name": "phpunit/php-file-iterator", @@ -861,16 +861,16 @@ }, { "name": "phpunit/php-token-stream", - "version": "1.4.9", + "version": "1.4.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "3b402f65a4cc90abf6e1104e388b896ce209631b" + "reference": "284fb0679dd25fb5ffb56dad92c72860c0a22f1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3b402f65a4cc90abf6e1104e388b896ce209631b", - "reference": "3b402f65a4cc90abf6e1104e388b896ce209631b", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/284fb0679dd25fb5ffb56dad92c72860c0a22f1b", + "reference": "284fb0679dd25fb5ffb56dad92c72860c0a22f1b", "shasum": "" }, "require": { @@ -906,20 +906,20 @@ "keywords": [ "tokenizer" ], - "time": "2016-11-15T14:06:22+00:00" + "time": "2017-02-23T06:14:45+00:00" }, { "name": "phpunit/phpunit", - "version": "6.0.5", + "version": "6.0.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "1fb01cbd5aa7fa2457cc10170070676a9ad315d2" + "reference": "4601a46c162eccadffc7d5a6b1f5334df5d99713" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1fb01cbd5aa7fa2457cc10170070676a9ad315d2", - "reference": "1fb01cbd5aa7fa2457cc10170070676a9ad315d2", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4601a46c162eccadffc7d5a6b1f5334df5d99713", + "reference": "4601a46c162eccadffc7d5a6b1f5334df5d99713", "shasum": "" }, "require": { @@ -988,7 +988,7 @@ "testing", "xunit" ], - "time": "2017-02-05T15:33:43+00:00" + "time": "2017-02-19T07:25:12+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1466,16 +1466,16 @@ }, { "name": "sebastian/object-enumerator", - "version": "2.0.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35" + "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35", - "reference": "96f8a3f257b69e8128ad74d3a7fd464bcbaa3b35", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7", + "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7", "shasum": "" }, "require": { @@ -1508,7 +1508,7 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2016-11-19T07:35:10+00:00" + "time": "2017-02-18T15:18:39+00:00" }, { "name": "sebastian/phpcpd", @@ -1778,16 +1778,16 @@ }, { "name": "symfony/config", - "version": "v3.2.3", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "2ffa7b84d647b8be1788d46b44e438cb3d62056c" + "reference": "9f99453e77771e629af8a25eeb0a6c4ed1e19da2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/2ffa7b84d647b8be1788d46b44e438cb3d62056c", - "reference": "2ffa7b84d647b8be1788d46b44e438cb3d62056c", + "url": "https://api.github.com/repos/symfony/config/zipball/9f99453e77771e629af8a25eeb0a6c4ed1e19da2", + "reference": "9f99453e77771e629af8a25eeb0a6c4ed1e19da2", "shasum": "" }, "require": { @@ -1830,20 +1830,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2017-02-06T12:04:21+00:00" + "time": "2017-02-14T16:27:43+00:00" }, { "name": "symfony/console", - "version": "v3.2.3", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "7a8405a9fc175f87fed8a3c40856b0d866d61936" + "reference": "0e5e6899f82230fcb1153bcaf0e106ffaa44b870" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/7a8405a9fc175f87fed8a3c40856b0d866d61936", - "reference": "7a8405a9fc175f87fed8a3c40856b0d866d61936", + "url": "https://api.github.com/repos/symfony/console/zipball/0e5e6899f82230fcb1153bcaf0e106ffaa44b870", + "reference": "0e5e6899f82230fcb1153bcaf0e106ffaa44b870", "shasum": "" }, "require": { @@ -1893,20 +1893,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2017-02-06T12:04:21+00:00" + "time": "2017-02-16T14:07:22+00:00" }, { "name": "symfony/debug", - "version": "v3.2.3", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "b4d9818f127c60ce21ed62c395da7df868dc8477" + "reference": "9b98854cb45bc59d100b7d4cc4cf9e05f21026b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/b4d9818f127c60ce21ed62c395da7df868dc8477", - "reference": "b4d9818f127c60ce21ed62c395da7df868dc8477", + "url": "https://api.github.com/repos/symfony/debug/zipball/9b98854cb45bc59d100b7d4cc4cf9e05f21026b9", + "reference": "9b98854cb45bc59d100b7d4cc4cf9e05f21026b9", "shasum": "" }, "require": { @@ -1950,20 +1950,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2017-01-28T02:37:08+00:00" + "time": "2017-02-16T16:34:18+00:00" }, { "name": "symfony/dependency-injection", - "version": "v3.2.3", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "388d368887f128ff3e47654718e29c5011601dce" + "reference": "130aa55b8ed7e6d0d75b0ed37256cec687a22f41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/388d368887f128ff3e47654718e29c5011601dce", - "reference": "388d368887f128ff3e47654718e29c5011601dce", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/130aa55b8ed7e6d0d75b0ed37256cec687a22f41", + "reference": "130aa55b8ed7e6d0d75b0ed37256cec687a22f41", "shasum": "" }, "require": { @@ -2013,11 +2013,11 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2017-01-28T02:37:08+00:00" + "time": "2017-02-16T22:46:52+00:00" }, { "name": "symfony/filesystem", - "version": "v3.2.3", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", @@ -2066,7 +2066,7 @@ }, { "name": "symfony/finder", - "version": "v3.2.3", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", @@ -2174,16 +2174,16 @@ }, { "name": "symfony/yaml", - "version": "v3.2.3", + "version": "v3.2.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "e1718c6bf57e1efbb8793ada951584b2ab27775b" + "reference": "9724c684646fcb5387d579b4bfaa63ee0b0c64c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/e1718c6bf57e1efbb8793ada951584b2ab27775b", - "reference": "e1718c6bf57e1efbb8793ada951584b2ab27775b", + "url": "https://api.github.com/repos/symfony/yaml/zipball/9724c684646fcb5387d579b4bfaa63ee0b0c64c8", + "reference": "9724c684646fcb5387d579b4bfaa63ee0b0c64c8", "shasum": "" }, "require": { @@ -2225,7 +2225,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-01-21T17:06:35+00:00" + "time": "2017-02-16T22:46:52+00:00" }, { "name": "theseer/fdomdocument", From 7a6a62aa6e3038e763b7795be2113732b547d343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 12 Mar 2017 22:29:32 +0100 Subject: [PATCH 19/35] Update dependencies --- composer.lock | 304 +++++++++++++++++++++++++++++--------------------- 1 file changed, 178 insertions(+), 126 deletions(-) diff --git a/composer.lock b/composer.lock index 4fb4b3d..ca6b02f 100644 --- a/composer.lock +++ b/composer.lock @@ -604,27 +604,27 @@ }, { "name": "phpspec/prophecy", - "version": "v1.6.2", + "version": "v1.7.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "6c52c2722f8460122f96f86346600e1077ce22cb" + "reference": "93d39f1f7f9326d746203c7c056f300f7f126073" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/6c52c2722f8460122f96f86346600e1077ce22cb", - "reference": "6c52c2722f8460122f96f86346600e1077ce22cb", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", + "reference": "93d39f1f7f9326d746203c7c056f300f7f126073", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", - "sebastian/comparator": "^1.1", - "sebastian/recursion-context": "^1.0|^2.0" + "sebastian/comparator": "^1.1|^2.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { - "phpspec/phpspec": "^2.0", + "phpspec/phpspec": "^2.5|^3.2", "phpunit/phpunit": "^4.8 || ^5.6.5" }, "type": "library", @@ -663,27 +663,29 @@ "spy", "stub" ], - "time": "2016-11-21T14:58:47+00:00" + "time": "2017-03-02T20:05:34+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "5.0.1", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "3f10a2c8eed68b29cbbb54e29cc58cb31b077553" + "reference": "4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/3f10a2c8eed68b29cbbb54e29cc58cb31b077553", - "reference": "3f10a2c8eed68b29cbbb54e29cc58cb31b077553", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1", + "reference": "4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1", "shasum": "" }, "require": { + "ext-dom": "*", + "ext-xmlwriter": "*", "php": "^7.0", "phpunit/php-file-iterator": "^1.3", "phpunit/php-text-template": "^1.2", - "phpunit/php-token-stream": "^1.4.2 || ^2.0", + "phpunit/php-token-stream": "^1.4.11 || ^2.0", "sebastian/code-unit-reverse-lookup": "^1.0", "sebastian/environment": "^2.0", "sebastian/version": "^2.0" @@ -693,8 +695,7 @@ "phpunit/phpunit": "^6.0" }, "suggest": { - "ext-dom": "*", - "ext-xmlwriter": "*" + "ext-xdebug": "^2.5.1" }, "type": "library", "extra": { @@ -725,7 +726,7 @@ "testing", "xunit" ], - "time": "2017-02-23T07:27:58+00:00" + "time": "2017-03-06T14:22:16+00:00" }, { "name": "phpunit/php-file-iterator", @@ -817,25 +818,30 @@ }, { "name": "phpunit/php-timer", - "version": "1.0.8", + "version": "1.0.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260" + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/38e9124049cf1a164f1e4537caf19c99bf1eb260", - "reference": "38e9124049cf1a164f1e4537caf19c99bf1eb260", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.3.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~4|~5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, "autoload": { "classmap": [ "src/" @@ -857,20 +863,20 @@ "keywords": [ "timer" ], - "time": "2016-05-12T18:03:57+00:00" + "time": "2017-02-26T11:10:40+00:00" }, { "name": "phpunit/php-token-stream", - "version": "1.4.10", + "version": "1.4.11", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "284fb0679dd25fb5ffb56dad92c72860c0a22f1b" + "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/284fb0679dd25fb5ffb56dad92c72860c0a22f1b", - "reference": "284fb0679dd25fb5ffb56dad92c72860c0a22f1b", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", + "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", "shasum": "" }, "require": { @@ -906,20 +912,20 @@ "keywords": [ "tokenizer" ], - "time": "2017-02-23T06:14:45+00:00" + "time": "2017-02-27T10:12:30+00:00" }, { "name": "phpunit/phpunit", - "version": "6.0.7", + "version": "6.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "4601a46c162eccadffc7d5a6b1f5334df5d99713" + "reference": "47ee3fa1bca5c50f1d25105201eb20df777bd7b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/4601a46c162eccadffc7d5a6b1f5334df5d99713", - "reference": "4601a46c162eccadffc7d5a6b1f5334df5d99713", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/47ee3fa1bca5c50f1d25105201eb20df777bd7b6", + "reference": "47ee3fa1bca5c50f1d25105201eb20df777bd7b6", "shasum": "" }, "require": { @@ -936,12 +942,12 @@ "phpunit/php-text-template": "^1.2", "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^4.0", - "sebastian/comparator": "^1.2.4", + "sebastian/comparator": "^1.2.4 || ^2.0", "sebastian/diff": "^1.2", "sebastian/environment": "^2.0", - "sebastian/exporter": "^2.0", - "sebastian/global-state": "^1.1", - "sebastian/object-enumerator": "^2.0", + "sebastian/exporter": "^2.0 || ^3.0", + "sebastian/global-state": "^1.1 || ^2.0", + "sebastian/object-enumerator": "^2.0 || ^3.0", "sebastian/resource-operations": "^1.0", "sebastian/version": "^2.0" }, @@ -988,27 +994,27 @@ "testing", "xunit" ], - "time": "2017-02-19T07:25:12+00:00" + "time": "2017-03-02T15:24:03+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "4.0.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "3819745c44f3aff9518fd655f320c4535d541af7" + "reference": "eabce450df194817a7d7e27e19013569a903a2bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/3819745c44f3aff9518fd655f320c4535d541af7", - "reference": "3819745c44f3aff9518fd655f320c4535d541af7", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/eabce450df194817a7d7e27e19013569a903a2bf", + "reference": "eabce450df194817a7d7e27e19013569a903a2bf", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^7.0", "phpunit/php-text-template": "^1.2", - "sebastian/exporter": "^2.0" + "sebastian/exporter": "^3.0" }, "conflict": { "phpunit/phpunit": "<6.0" @@ -1047,7 +1053,7 @@ "mock", "xunit" ], - "time": "2017-02-02T10:36:38+00:00" + "time": "2017-03-03T06:30:20+00:00" }, { "name": "psr/log", @@ -1098,23 +1104,23 @@ }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "c36f5e7cfce482fde5bf8d10d41a53591e0198fe" + "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/c36f5e7cfce482fde5bf8d10d41a53591e0198fe", - "reference": "c36f5e7cfce482fde5bf8d10d41a53591e0198fe", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", + "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", "shasum": "" }, "require": { - "php": ">=5.6" + "php": "^5.6 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~5" + "phpunit/phpunit": "^5.7 || ^6.0" }, "type": "library", "extra": { @@ -1139,34 +1145,34 @@ ], "description": "Looks up which function or method a line of code belongs to", "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2016-02-13T06:45:14+00:00" + "time": "2017-03-04T06:30:41+00:00" }, { "name": "sebastian/comparator", - "version": "1.2.4", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" + "reference": "20f84f468cb67efee293246e6a09619b891f55f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/20f84f468cb67efee293246e6a09619b891f55f0", + "reference": "20f84f468cb67efee293246e6a09619b891f55f0", "shasum": "" }, "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.2", - "sebastian/exporter": "~1.2 || ~2.0" + "php": "^7.0", + "sebastian/diff": "^1.2", + "sebastian/exporter": "^3.0" }, "require-dev": { - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -1203,7 +1209,7 @@ "compare", "equality" ], - "time": "2017-01-29T09:50:25+00:00" + "time": "2017-03-03T06:26:08+00:00" }, { "name": "sebastian/diff", @@ -1309,30 +1315,30 @@ }, { "name": "sebastian/exporter", - "version": "2.0.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4" + "reference": "b82d077cb3459e393abcf4867ae8f7230dcb51f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/b82d077cb3459e393abcf4867ae8f7230dcb51f6", + "reference": "b82d077cb3459e393abcf4867ae8f7230dcb51f6", "shasum": "" }, "require": { - "php": ">=5.3.3", - "sebastian/recursion-context": "~2.0" + "php": "^7.0", + "sebastian/recursion-context": "^3.0" }, "require-dev": { "ext-mbstring": "*", - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -1372,7 +1378,7 @@ "export", "exporter" ], - "time": "2016-11-19T08:54:04+00:00" + "time": "2017-03-03T06:25:06+00:00" }, { "name": "sebastian/finder-facade", @@ -1466,29 +1472,30 @@ }, { "name": "sebastian/object-enumerator", - "version": "2.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7" + "reference": "31dd3379d16446c5d86dec32ab1ad1f378581ad8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/31dd3379d16446c5d86dec32ab1ad1f378581ad8", + "reference": "31dd3379d16446c5d86dec32ab1ad1f378581ad8", "shasum": "" }, "require": { - "php": ">=5.6", - "sebastian/recursion-context": "~2.0" + "php": "^7.0", + "sebastian/object-reflector": "^1.0", + "sebastian/recursion-context": "^3.0" }, "require-dev": { - "phpunit/phpunit": "~5" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -1508,7 +1515,52 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-02-18T15:18:39+00:00" + "time": "2017-03-12T15:17:29+00:00" + }, + { + "name": "sebastian/object-reflector", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "2201553542d60d25db9c5b2c54330df776648008" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/2201553542d60d25db9c5b2c54330df776648008", + "reference": "2201553542d60d25db9c5b2c54330df776648008", + "shasum": "" + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "time": "2017-03-12T15:10:22+00:00" }, { "name": "sebastian/phpcpd", @@ -1562,28 +1614,28 @@ }, { "name": "sebastian/recursion-context", - "version": "2.0.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a" + "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8", + "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^6.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -1611,7 +1663,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-11-19T07:33:16+00:00" + "time": "2017-03-03T06:23:57+00:00" }, { "name": "sebastian/resource-operations", @@ -1700,16 +1752,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "2.8.0", + "version": "2.8.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "86dd55a522238211f9f3631e3361703578941d9a" + "reference": "d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/86dd55a522238211f9f3631e3361703578941d9a", - "reference": "86dd55a522238211f9f3631e3361703578941d9a", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d", + "reference": "d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d", "shasum": "" }, "require": { @@ -1774,20 +1826,20 @@ "phpcs", "standards" ], - "time": "2017-02-02T03:30:00+00:00" + "time": "2017-03-01T22:17:45+00:00" }, { "name": "symfony/config", - "version": "v3.2.4", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "9f99453e77771e629af8a25eeb0a6c4ed1e19da2" + "reference": "741d6d4cd1414d67d48eb71aba6072b46ba740c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/9f99453e77771e629af8a25eeb0a6c4ed1e19da2", - "reference": "9f99453e77771e629af8a25eeb0a6c4ed1e19da2", + "url": "https://api.github.com/repos/symfony/config/zipball/741d6d4cd1414d67d48eb71aba6072b46ba740c2", + "reference": "741d6d4cd1414d67d48eb71aba6072b46ba740c2", "shasum": "" }, "require": { @@ -1830,20 +1882,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2017-02-14T16:27:43+00:00" + "time": "2017-03-01T18:18:25+00:00" }, { "name": "symfony/console", - "version": "v3.2.4", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0e5e6899f82230fcb1153bcaf0e106ffaa44b870" + "reference": "28fb243a2b5727774ca309ec2d92da240f1af0dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0e5e6899f82230fcb1153bcaf0e106ffaa44b870", - "reference": "0e5e6899f82230fcb1153bcaf0e106ffaa44b870", + "url": "https://api.github.com/repos/symfony/console/zipball/28fb243a2b5727774ca309ec2d92da240f1af0dd", + "reference": "28fb243a2b5727774ca309ec2d92da240f1af0dd", "shasum": "" }, "require": { @@ -1893,20 +1945,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2017-02-16T14:07:22+00:00" + "time": "2017-03-06T19:30:27+00:00" }, { "name": "symfony/debug", - "version": "v3.2.4", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "9b98854cb45bc59d100b7d4cc4cf9e05f21026b9" + "reference": "b90c9f91ad8ac37d9f114e369042d3226b34dc1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/9b98854cb45bc59d100b7d4cc4cf9e05f21026b9", - "reference": "9b98854cb45bc59d100b7d4cc4cf9e05f21026b9", + "url": "https://api.github.com/repos/symfony/debug/zipball/b90c9f91ad8ac37d9f114e369042d3226b34dc1a", + "reference": "b90c9f91ad8ac37d9f114e369042d3226b34dc1a", "shasum": "" }, "require": { @@ -1950,20 +2002,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2017-02-16T16:34:18+00:00" + "time": "2017-02-18T17:28:00+00:00" }, { "name": "symfony/dependency-injection", - "version": "v3.2.4", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "130aa55b8ed7e6d0d75b0ed37256cec687a22f41" + "reference": "74e0935e414ad33d5e82074212c0eedb4681a691" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/130aa55b8ed7e6d0d75b0ed37256cec687a22f41", - "reference": "130aa55b8ed7e6d0d75b0ed37256cec687a22f41", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/74e0935e414ad33d5e82074212c0eedb4681a691", + "reference": "74e0935e414ad33d5e82074212c0eedb4681a691", "shasum": "" }, "require": { @@ -2013,20 +2065,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2017-02-16T22:46:52+00:00" + "time": "2017-03-05T00:06:55+00:00" }, { "name": "symfony/filesystem", - "version": "v3.2.4", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "a0c6ef2dc78d33b58d91d3a49f49797a184d06f4" + "reference": "bc0f17bed914df2cceb989972c3b996043c4da4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/a0c6ef2dc78d33b58d91d3a49f49797a184d06f4", - "reference": "a0c6ef2dc78d33b58d91d3a49f49797a184d06f4", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/bc0f17bed914df2cceb989972c3b996043c4da4a", + "reference": "bc0f17bed914df2cceb989972c3b996043c4da4a", "shasum": "" }, "require": { @@ -2062,20 +2114,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2017-01-08T20:47:33+00:00" + "time": "2017-03-06T19:30:27+00:00" }, { "name": "symfony/finder", - "version": "v3.2.4", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "8c71141cae8e2957946b403cc71a67213c0380d6" + "reference": "92d7476d2df60cd851a3e13e078664b1deb8ce10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/8c71141cae8e2957946b403cc71a67213c0380d6", - "reference": "8c71141cae8e2957946b403cc71a67213c0380d6", + "url": "https://api.github.com/repos/symfony/finder/zipball/92d7476d2df60cd851a3e13e078664b1deb8ce10", + "reference": "92d7476d2df60cd851a3e13e078664b1deb8ce10", "shasum": "" }, "require": { @@ -2111,7 +2163,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2017-01-02T20:32:22+00:00" + "time": "2017-02-21T09:12:04+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2174,16 +2226,16 @@ }, { "name": "symfony/yaml", - "version": "v3.2.4", + "version": "v3.2.6", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "9724c684646fcb5387d579b4bfaa63ee0b0c64c8" + "reference": "093e416ad096355149e265ea2e4cc1f9ee40ab1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/9724c684646fcb5387d579b4bfaa63ee0b0c64c8", - "reference": "9724c684646fcb5387d579b4bfaa63ee0b0c64c8", + "url": "https://api.github.com/repos/symfony/yaml/zipball/093e416ad096355149e265ea2e4cc1f9ee40ab1a", + "reference": "093e416ad096355149e265ea2e4cc1f9ee40ab1a", "shasum": "" }, "require": { @@ -2225,7 +2277,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-02-16T22:46:52+00:00" + "time": "2017-03-07T16:47:02+00:00" }, { "name": "theseer/fdomdocument", From 736cad2fec6320a8172d8d7f9271e349095bff7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 16 Apr 2017 11:59:28 +0200 Subject: [PATCH 20/35] Update dependencies --- composer.lock | 263 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 184 insertions(+), 79 deletions(-) diff --git a/composer.lock b/composer.lock index ca6b02f..f61a1d6 100644 --- a/composer.lock +++ b/composer.lock @@ -63,16 +63,16 @@ }, { "name": "erebot/buildenv", - "version": "1.2.9", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/Erebot/Buildenv.git", - "reference": "698441b05d1d2535a5e9aedb28e97074db50e590" + "reference": "2ce8dfe61ee7e58e9e7bdf6130ac9db7608d3f7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Erebot/Buildenv/zipball/698441b05d1d2535a5e9aedb28e97074db50e590", - "reference": "698441b05d1d2535a5e9aedb28e97074db50e590", + "url": "https://api.github.com/repos/Erebot/Buildenv/zipball/2ce8dfe61ee7e58e9e7bdf6130ac9db7608d3f7b", + "reference": "2ce8dfe61ee7e58e9e7bdf6130ac9db7608d3f7b", "shasum": "" }, "require": { @@ -108,7 +108,7 @@ "keywords": [ "Erebot" ], - "time": "2017-02-05T15:51:54+00:00" + "time": "2017-03-22T21:42:24+00:00" }, { "name": "erebot/plop", @@ -217,16 +217,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.6.0", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe" + "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/5a5a9fc8025a08d8919be87d6884d5a92520cefe", - "reference": "5a5a9fc8025a08d8919be87d6884d5a92520cefe", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/8e6e04167378abf1ddb4d3522d8755c5fd90d102", + "reference": "8e6e04167378abf1ddb4d3522d8755c5fd90d102", "shasum": "" }, "require": { @@ -255,7 +255,7 @@ "object", "object graph" ], - "time": "2017-01-26T22:05:40+00:00" + "time": "2017-04-12T18:52:22+00:00" }, { "name": "pdepend/pdepend", @@ -297,6 +297,108 @@ "description": "Official version of pdepend to be handled with Composer", "time": "2017-01-19T14:23:36+00:00" }, + { + "name": "phar-io/manifest", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", + "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "phar-io/version": "^1.0.1", + "php": "^5.6 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "time": "2017-03-05T18:14:27+00:00" + }, + { + "name": "phar-io/version", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", + "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "time": "2017-03-05T17:38:23+00:00" + }, { "name": "phing/phing", "version": "2.16.0", @@ -667,16 +769,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "5.0.3", + "version": "5.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1" + "reference": "bc433b7af27e0ab9b6b4c6d8ec918a493875f6bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1", - "reference": "4e99e1c4f9b05cbf4d6e84b100b3ff4107cf8cd1", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bc433b7af27e0ab9b6b4c6d8ec918a493875f6bc", + "reference": "bc433b7af27e0ab9b6b4c6d8ec918a493875f6bc", "shasum": "" }, "require": { @@ -700,7 +802,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.0.x-dev" + "dev-master": "5.1.x-dev" } }, "autoload": { @@ -726,7 +828,7 @@ "testing", "xunit" ], - "time": "2017-03-06T14:22:16+00:00" + "time": "2017-04-12T07:59:32+00:00" }, { "name": "phpunit/php-file-iterator", @@ -916,16 +1018,16 @@ }, { "name": "phpunit/phpunit", - "version": "6.0.8", + "version": "6.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "47ee3fa1bca5c50f1d25105201eb20df777bd7b6" + "reference": "2aa57c530381662b01c2cf705b03e8c12e918f1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/47ee3fa1bca5c50f1d25105201eb20df777bd7b6", - "reference": "47ee3fa1bca5c50f1d25105201eb20df777bd7b6", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2aa57c530381662b01c2cf705b03e8c12e918f1d", + "reference": "2aa57c530381662b01c2cf705b03e8c12e918f1d", "shasum": "" }, "require": { @@ -935,19 +1037,21 @@ "ext-mbstring": "*", "ext-xml": "*", "myclabs/deep-copy": "^1.3", + "phar-io/manifest": "^1.0.1", + "phar-io/version": "^1.0", "php": "^7.0", - "phpspec/prophecy": "^1.6.2", + "phpspec/prophecy": "^1.7", "phpunit/php-code-coverage": "^5.0", "phpunit/php-file-iterator": "^1.4", "phpunit/php-text-template": "^1.2", "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^4.0", - "sebastian/comparator": "^1.2.4 || ^2.0", + "sebastian/comparator": "^2.0", "sebastian/diff": "^1.2", "sebastian/environment": "^2.0", - "sebastian/exporter": "^2.0 || ^3.0", + "sebastian/exporter": "^3.1", "sebastian/global-state": "^1.1 || ^2.0", - "sebastian/object-enumerator": "^2.0 || ^3.0", + "sebastian/object-enumerator": "^3.0.2", "sebastian/resource-operations": "^1.0", "sebastian/version": "^2.0" }, @@ -968,7 +1072,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.0.x-dev" + "dev-master": "6.1.x-dev" } }, "autoload": { @@ -994,7 +1098,7 @@ "testing", "xunit" ], - "time": "2017-03-02T15:24:03+00:00" + "time": "2017-04-07T04:45:38+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1315,16 +1419,16 @@ }, { "name": "sebastian/exporter", - "version": "3.0.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "b82d077cb3459e393abcf4867ae8f7230dcb51f6" + "reference": "234199f4528de6d12aaa58b612e98f7d36adb937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/b82d077cb3459e393abcf4867ae8f7230dcb51f6", - "reference": "b82d077cb3459e393abcf4867ae8f7230dcb51f6", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937", + "reference": "234199f4528de6d12aaa58b612e98f7d36adb937", "shasum": "" }, "require": { @@ -1338,7 +1442,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "3.1.x-dev" } }, "autoload": { @@ -1378,7 +1482,7 @@ "export", "exporter" ], - "time": "2017-03-03T06:25:06+00:00" + "time": "2017-04-03T13:19:02+00:00" }, { "name": "sebastian/finder-facade", @@ -1519,16 +1623,16 @@ }, { "name": "sebastian/object-reflector", - "version": "1.0.0", + "version": "1.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "2201553542d60d25db9c5b2c54330df776648008" + "reference": "773f97c67f28de00d397be301821b06708fca0be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/2201553542d60d25db9c5b2c54330df776648008", - "reference": "2201553542d60d25db9c5b2c54330df776648008", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be", + "reference": "773f97c67f28de00d397be301821b06708fca0be", "shasum": "" }, "require": { @@ -1540,7 +1644,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "1.1-dev" } }, "autoload": { @@ -1560,7 +1664,7 @@ ], "description": "Allows reflection of object attributes, including inherited and non-public ones", "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "time": "2017-03-12T15:10:22+00:00" + "time": "2017-03-29T09:07:27+00:00" }, { "name": "sebastian/phpcpd", @@ -1830,16 +1934,16 @@ }, { "name": "symfony/config", - "version": "v3.2.6", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "741d6d4cd1414d67d48eb71aba6072b46ba740c2" + "reference": "8444bde28e3c2a33e571e6f180c2d78bfdc4480d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/741d6d4cd1414d67d48eb71aba6072b46ba740c2", - "reference": "741d6d4cd1414d67d48eb71aba6072b46ba740c2", + "url": "https://api.github.com/repos/symfony/config/zipball/8444bde28e3c2a33e571e6f180c2d78bfdc4480d", + "reference": "8444bde28e3c2a33e571e6f180c2d78bfdc4480d", "shasum": "" }, "require": { @@ -1882,20 +1986,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2017-03-01T18:18:25+00:00" + "time": "2017-04-04T15:30:56+00:00" }, { "name": "symfony/console", - "version": "v3.2.6", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "28fb243a2b5727774ca309ec2d92da240f1af0dd" + "reference": "c30243cc51f726812be3551316b109a2f5deaf8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/28fb243a2b5727774ca309ec2d92da240f1af0dd", - "reference": "28fb243a2b5727774ca309ec2d92da240f1af0dd", + "url": "https://api.github.com/repos/symfony/console/zipball/c30243cc51f726812be3551316b109a2f5deaf8d", + "reference": "c30243cc51f726812be3551316b109a2f5deaf8d", "shasum": "" }, "require": { @@ -1945,20 +2049,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2017-03-06T19:30:27+00:00" + "time": "2017-04-04T14:33:42+00:00" }, { "name": "symfony/debug", - "version": "v3.2.6", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "b90c9f91ad8ac37d9f114e369042d3226b34dc1a" + "reference": "56f613406446a4a0a031475cfd0a01751de22659" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/b90c9f91ad8ac37d9f114e369042d3226b34dc1a", - "reference": "b90c9f91ad8ac37d9f114e369042d3226b34dc1a", + "url": "https://api.github.com/repos/symfony/debug/zipball/56f613406446a4a0a031475cfd0a01751de22659", + "reference": "56f613406446a4a0a031475cfd0a01751de22659", "shasum": "" }, "require": { @@ -2002,20 +2106,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2017-02-18T17:28:00+00:00" + "time": "2017-03-28T21:38:24+00:00" }, { "name": "symfony/dependency-injection", - "version": "v3.2.6", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "74e0935e414ad33d5e82074212c0eedb4681a691" + "reference": "923bb014708b666e4092c9ba39993895c9c8fcd7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/74e0935e414ad33d5e82074212c0eedb4681a691", - "reference": "74e0935e414ad33d5e82074212c0eedb4681a691", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/923bb014708b666e4092c9ba39993895c9c8fcd7", + "reference": "923bb014708b666e4092c9ba39993895c9c8fcd7", "shasum": "" }, "require": { @@ -2065,20 +2169,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2017-03-05T00:06:55+00:00" + "time": "2017-04-04T07:26:27+00:00" }, { "name": "symfony/filesystem", - "version": "v3.2.6", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "bc0f17bed914df2cceb989972c3b996043c4da4a" + "reference": "64421e6479c4a8e60d790fb666bd520992861b66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/bc0f17bed914df2cceb989972c3b996043c4da4a", - "reference": "bc0f17bed914df2cceb989972c3b996043c4da4a", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/64421e6479c4a8e60d790fb666bd520992861b66", + "reference": "64421e6479c4a8e60d790fb666bd520992861b66", "shasum": "" }, "require": { @@ -2114,20 +2218,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2017-03-06T19:30:27+00:00" + "time": "2017-03-26T15:47:15+00:00" }, { "name": "symfony/finder", - "version": "v3.2.6", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "92d7476d2df60cd851a3e13e078664b1deb8ce10" + "reference": "b20900ce5ea164cd9314af52725b0bb5a758217a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/92d7476d2df60cd851a3e13e078664b1deb8ce10", - "reference": "92d7476d2df60cd851a3e13e078664b1deb8ce10", + "url": "https://api.github.com/repos/symfony/finder/zipball/b20900ce5ea164cd9314af52725b0bb5a758217a", + "reference": "b20900ce5ea164cd9314af52725b0bb5a758217a", "shasum": "" }, "require": { @@ -2163,7 +2267,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2017-02-21T09:12:04+00:00" + "time": "2017-03-20T09:32:19+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2226,16 +2330,16 @@ }, { "name": "symfony/yaml", - "version": "v3.2.6", + "version": "v3.2.7", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "093e416ad096355149e265ea2e4cc1f9ee40ab1a" + "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/093e416ad096355149e265ea2e4cc1f9ee40ab1a", - "reference": "093e416ad096355149e265ea2e4cc1f9ee40ab1a", + "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621", + "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621", "shasum": "" }, "require": { @@ -2277,26 +2381,27 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-03-07T16:47:02+00:00" + "time": "2017-03-20T09:45:15+00:00" }, { "name": "theseer/fdomdocument", - "version": "1.6.1", + "version": "1.6.3", "source": { "type": "git", "url": "https://github.com/theseer/fDOMDocument.git", - "reference": "d9ad139d6c2e8edf5e313ffbe37ff13344cf0684" + "reference": "07aa549924fa5d12fbf7c08401931363558e4523" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/d9ad139d6c2e8edf5e313ffbe37ff13344cf0684", - "reference": "d9ad139d6c2e8edf5e313ffbe37ff13344cf0684", + "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/07aa549924fa5d12fbf7c08401931363558e4523", + "reference": "07aa549924fa5d12fbf7c08401931363558e4523", "shasum": "" }, "require": { "ext-dom": "*", "lib-libxml": "*", - "php": ">=5.3.3" + "php": ">=5.3.3", + "phpunit/phpunit": "^4.8.35|^5.6|^6.0" }, "type": "library", "autoload": { @@ -2317,7 +2422,7 @@ ], "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", "homepage": "https://github.com/theseer/fDOMDocument", - "time": "2015-05-27T22:58:02+00:00" + "time": "2017-04-14T10:44:01+00:00" }, { "name": "webmozart/assert", From d4e82f91cc21ee9c0eff79741bfd20bfcc72bee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Mon, 17 Apr 2017 12:46:00 +0200 Subject: [PATCH 21/35] Update dependencies --- composer.lock | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/composer.lock b/composer.lock index f61a1d6..f63c6a6 100644 --- a/composer.lock +++ b/composer.lock @@ -2385,23 +2385,22 @@ }, { "name": "theseer/fdomdocument", - "version": "1.6.3", + "version": "1.6.4", "source": { "type": "git", "url": "https://github.com/theseer/fDOMDocument.git", - "reference": "07aa549924fa5d12fbf7c08401931363558e4523" + "reference": "cf219ede922fb47956726f35e2127277ebd302ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/07aa549924fa5d12fbf7c08401931363558e4523", - "reference": "07aa549924fa5d12fbf7c08401931363558e4523", + "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/cf219ede922fb47956726f35e2127277ebd302ca", + "reference": "cf219ede922fb47956726f35e2127277ebd302ca", "shasum": "" }, "require": { "ext-dom": "*", "lib-libxml": "*", - "php": ">=5.3.3", - "phpunit/phpunit": "^4.8.35|^5.6|^6.0" + "php": ">=5.3.3" }, "type": "library", "autoload": { @@ -2422,7 +2421,7 @@ ], "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", "homepage": "https://github.com/theseer/fDOMDocument", - "time": "2017-04-14T10:44:01+00:00" + "time": "2017-04-17T09:08:13+00:00" }, { "name": "webmozart/assert", From 6e0d9a2244d97b27e563bd5ffaec7525338d560a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 30 Apr 2017 16:13:58 +0200 Subject: [PATCH 22/35] Update dependencies --- composer.lock | 115 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 78 insertions(+), 37 deletions(-) diff --git a/composer.lock b/composer.lock index f63c6a6..da9da1a 100644 --- a/composer.lock +++ b/composer.lock @@ -769,16 +769,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "5.1.1", + "version": "5.2.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "bc433b7af27e0ab9b6b4c6d8ec918a493875f6bc" + "reference": "dc421f9ca5082a0c0cb04afb171c765f79add85b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bc433b7af27e0ab9b6b4c6d8ec918a493875f6bc", - "reference": "bc433b7af27e0ab9b6b4c6d8ec918a493875f6bc", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/dc421f9ca5082a0c0cb04afb171c765f79add85b", + "reference": "dc421f9ca5082a0c0cb04afb171c765f79add85b", "shasum": "" }, "require": { @@ -789,20 +789,21 @@ "phpunit/php-text-template": "^1.2", "phpunit/php-token-stream": "^1.4.11 || ^2.0", "sebastian/code-unit-reverse-lookup": "^1.0", - "sebastian/environment": "^2.0", - "sebastian/version": "^2.0" + "sebastian/environment": "^3.0", + "sebastian/version": "^2.0", + "theseer/tokenizer": "^1.1" }, "require-dev": { "ext-xdebug": "^2.5", "phpunit/phpunit": "^6.0" }, "suggest": { - "ext-xdebug": "^2.5.1" + "ext-xdebug": "^2.5.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.1.x-dev" + "dev-master": "5.2.x-dev" } }, "autoload": { @@ -828,7 +829,7 @@ "testing", "xunit" ], - "time": "2017-04-12T07:59:32+00:00" + "time": "2017-04-21T08:03:57+00:00" }, { "name": "phpunit/php-file-iterator", @@ -1018,16 +1019,16 @@ }, { "name": "phpunit/phpunit", - "version": "6.1.0", + "version": "6.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "2aa57c530381662b01c2cf705b03e8c12e918f1d" + "reference": "824d02024916525a36b2db21847a5ef91db9e4a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2aa57c530381662b01c2cf705b03e8c12e918f1d", - "reference": "2aa57c530381662b01c2cf705b03e8c12e918f1d", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/824d02024916525a36b2db21847a5ef91db9e4a8", + "reference": "824d02024916525a36b2db21847a5ef91db9e4a8", "shasum": "" }, "require": { @@ -1041,14 +1042,14 @@ "phar-io/version": "^1.0", "php": "^7.0", "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^5.0", + "phpunit/php-code-coverage": "^5.2", "phpunit/php-file-iterator": "^1.4", "phpunit/php-text-template": "^1.2", "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^4.0", "sebastian/comparator": "^2.0", "sebastian/diff": "^1.2", - "sebastian/environment": "^2.0", + "sebastian/environment": "^3.0.1", "sebastian/exporter": "^3.1", "sebastian/global-state": "^1.1 || ^2.0", "sebastian/object-enumerator": "^3.0.2", @@ -1098,7 +1099,7 @@ "testing", "xunit" ], - "time": "2017-04-07T04:45:38+00:00" + "time": "2017-04-29T10:40:17+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -1369,28 +1370,28 @@ }, { "name": "sebastian/environment", - "version": "2.0.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" + "reference": "11e7710b7724d42c62249b0e9d3030240398949d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/11e7710b7724d42c62249b0e9d3030240398949d", + "reference": "11e7710b7724d42c62249b0e9d3030240398949d", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "^5.0" + "phpunit/phpunit": "^6.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "3.0.x-dev" } }, "autoload": { @@ -1415,7 +1416,7 @@ "environment", "hhvm" ], - "time": "2016-11-26T07:53:53+00:00" + "time": "2017-04-21T14:40:32+00:00" }, { "name": "sebastian/exporter", @@ -1525,23 +1526,23 @@ }, { "name": "sebastian/global-state", - "version": "1.1.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "phpunit/phpunit": "^6.0" }, "suggest": { "ext-uopz": "*" @@ -1549,7 +1550,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -1572,7 +1573,7 @@ "keywords": [ "global state" ], - "time": "2015-10-12T03:26:01+00:00" + "time": "2017-04-27T15:39:26+00:00" }, { "name": "sebastian/object-enumerator", @@ -2385,16 +2386,16 @@ }, { "name": "theseer/fdomdocument", - "version": "1.6.4", + "version": "1.6.5", "source": { "type": "git", "url": "https://github.com/theseer/fDOMDocument.git", - "reference": "cf219ede922fb47956726f35e2127277ebd302ca" + "reference": "8dcfd392135a5bd938c3c83ea71419501ad9855d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/cf219ede922fb47956726f35e2127277ebd302ca", - "reference": "cf219ede922fb47956726f35e2127277ebd302ca", + "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/8dcfd392135a5bd938c3c83ea71419501ad9855d", + "reference": "8dcfd392135a5bd938c3c83ea71419501ad9855d", "shasum": "" }, "require": { @@ -2421,7 +2422,47 @@ ], "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", "homepage": "https://github.com/theseer/fDOMDocument", - "time": "2017-04-17T09:08:13+00:00" + "time": "2017-04-21T14:50:31+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "time": "2017-04-07T12:08:54+00:00" }, { "name": "webmozart/assert", From 81fed79fba805438acf664803227fea2c56c3f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 7 May 2017 12:34:54 +0200 Subject: [PATCH 23/35] Fix URL to phar archive download --- README.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index c6f278c..548903a 100644 --- a/README.rst +++ b/README.rst @@ -55,9 +55,8 @@ Several types of installations are possible: * Using a ``.phar`` archive: - .. sourcecode:: console - - $ wget --no-check-certificate https://packages.erebot.net/get/XRL-dev-master.phar + Download the PHAR archive for the latest release from + https://github.com/fpoirotte/XRL/releases/latest * Using composer: From 6d70fc3fcb85f06f5f00b4c723cf09f7af52df3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Tue, 9 May 2017 13:26:33 +0200 Subject: [PATCH 24/35] Use Composer on RTD --- composer.json | 2 +- composer.lock | 12 ++-- docs/src/conf.py | 178 ++++++----------------------------------------- 3 files changed, 27 insertions(+), 165 deletions(-) diff --git a/composer.json b/composer.json index 0cbfd07..cbf636c 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "require-dev": { "ext-dom": "*", "ext-SimpleXML": "*", - "erebot/buildenv": "*", + "erebot/buildenv": "^1.4.0", "erebot/plop": "*", "fpoirotte/natives4doxygen": "*", "pdepend/pdepend": "*", diff --git a/composer.lock b/composer.lock index da9da1a..b58d481 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "3f0e28d7d1c29591bc6def645c0882c6", + "content-hash": "2c2219586fe009c28fd899561b539b90", "packages": [], "packages-dev": [ { @@ -63,16 +63,16 @@ }, { "name": "erebot/buildenv", - "version": "1.3.1", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/Erebot/Buildenv.git", - "reference": "2ce8dfe61ee7e58e9e7bdf6130ac9db7608d3f7b" + "reference": "cb89a65bf6ad1175f3c15abc96030ffff46e6915" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Erebot/Buildenv/zipball/2ce8dfe61ee7e58e9e7bdf6130ac9db7608d3f7b", - "reference": "2ce8dfe61ee7e58e9e7bdf6130ac9db7608d3f7b", + "url": "https://api.github.com/repos/Erebot/Buildenv/zipball/cb89a65bf6ad1175f3c15abc96030ffff46e6915", + "reference": "cb89a65bf6ad1175f3c15abc96030ffff46e6915", "shasum": "" }, "require": { @@ -108,7 +108,7 @@ "keywords": [ "Erebot" ], - "time": "2017-03-22T21:42:24+00:00" + "time": "2017-05-06T13:37:33+00:00" }, { "name": "erebot/plop", diff --git a/docs/src/conf.py b/docs/src/conf.py index 2c2b2e8..40a57b2 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -1,172 +1,34 @@ # -*- coding: utf-8 -*- import os -from os.path import join, dirname -import sys -import glob -import shutil -import urllib -import fnmatch -from datetime import datetime -from subprocess import call, Popen, PIPE - -try: - import simplejson as json -except ImportError: - import json +import stat +from os.path import join, abspath +from subprocess import call def prepare(globs, locs): - # Where are we? + # RTD defaults the current working directory to where conf.py resides. + # In our case, that means /docs/src/. cwd = os.getcwd() - root = os.path.abspath(join(cwd, '..', '..')) - deps = os.path.abspath(join(cwd, dirname(__file__), 'php-requirements.txt')) - - git = Popen('which git 2> %s' % os.devnull, shell=True, - stdout=PIPE).stdout.read().strip() - doxygen = Popen('which doxygen 2> %s' % os.devnull, shell=True, - stdout=PIPE).stdout.read().strip() - - locs['rtd_slug'] = os.path.basename(os.path.dirname(os.path.dirname(root))) - locs['rtd_version'] = os.path.basename(root) - pybabel = join(root, '..', '..', 'envs', locs['rtd_version'], 'bin', 'pybabel') - builder = sys.argv[sys.argv.index('-b') + 1] - - print "builder:", builder - print "git version:" - call([git, '--version']) - print "doxygen version:" - call([doxygen, '--version']) - print "pybabel version:" - call([pybabel, '--version']) - - print "Building version %s for %s in %s..." % ( - locs['rtd_version'], - locs['rtd_slug'], - root - ) + root = abspath(join(cwd, '..', '..')) os.chdir(root) - # Figure several configuration values from git. - origin = Popen([git, 'config', '--local', 'remote.origin.url'], - stdout=PIPE).stdout.read().strip() - git_tag = Popen([git, 'describe', '--tags', '--exact', '--first-parent'], - stdout=PIPE).communicate()[0].strip() - git_hash = Popen([git, 'rev-parse', 'HEAD'], - stdout=PIPE).communicate()[0].strip() - - origin = origin.replace(':', '/').split('/') - vendor = origin[-2] - project = origin[-1] - if project.endswith('.git'): - project = project[:-4] - os.environ['SPHINX_PROJECT'] = project - if git_tag: - os.environ['SPHINX_VERSION'] = git_tag - os.environ['SPHINX_RELEASE'] = git_tag - else: - commit = Popen([git, 'describe', '--always', '--first-parent'], - stdout=PIPE).communicate()[0].strip() - os.environ['SPHINX_VERSION'] = 'latest' - os.environ['SPHINX_RELEASE'] = 'latest-%s' % (commit, ) - locs['tags'].add('devel') - - # Common dependencies - dependencies = [ - ('git://github.com/Erebot/Buildenv.git', 'vendor/erebot/buildenv'), - ('git://github.com/fpoirotte/PHPNatives4Doxygen', 'vendor/fpoirotte/natives4doxygen'), - ] + # Download the PHP binary & composer.phar if necessary + base = 'https://github.com/Erebot/Buildenv/releases/download/1.4.0' + for f in ('php', 'composer.phar'): + call(['curl', '-L', '-z', f, '-o', f, '%s/%s' % (base, f)]) - # Project-specific dependencies - try: - with open(deps, 'r') as fd: - dependencies += [line.split() for line in fd.readlines()] - except: - pass + # Make sure the PHP interpreter is executable + os.chmod('./php', stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR) - # Clone or update dependencies - for repository, path in dependencies: - path = join(root, path) - if not os.path.isdir(path): - os.makedirs(path) - print "Cloning %s into %s..." % (repository, path) - call([git, 'clone', repository, path]) - elif os.path.isdir(join(path, '.git')): - os.chdir(path) - print "Updating clone of %s in %s..." % (repository, path) - call([git, 'checkout', 'master']) - call([git, 'pull']) - os.chdir(root) + # Call composer to download/update dependencies as necessary + os.environ['COMPOSER_CACHE_DIR'] = './cache' + call(['./php', 'composer.phar', 'update', '-n', '--ignore-platform-reqs', + '--no-progress'], env=os.environ) - composer = json.load(open(join(root, 'composer.json'), 'r')) - - if builder == 'readthedocs': - # Run doxygen - call([doxygen, join(root, 'Doxyfile')], env={ - 'COMPONENT_NAME': os.environ['SPHINX_PROJECT'], - 'COMPONENT_VERSION': os.environ['SPHINX_VERSION'], - 'COMPONENT_BRIEF': composer.get('description', ''), - }) - - # Copy API doc to final place, - # overwriting files as necessary. - try: - shutil.rmtree(join(root, 'build')) - except OSError: - pass - os.mkdir(join(root, 'build')) - shutil.move( - join(root, 'docs', 'api', 'html'), - join(root, 'build', 'apidoc'), - ) - try: - shutil.move( - join(root, '%s.tagfile.xml' % - os.environ['SPHINX_PROJECT']), - join(root, 'build', 'apidoc', '%s.tagfile.xml' % - os.environ['SPHINX_PROJECT']) - ) - except OSError: - pass - - # Copy translations for generic docs to catalogs folder. - gen_i18n = join(root, 'docs', 'src', 'generic', 'i18n', '.')[:-1] - for translation in glob.iglob(join(gen_i18n, '*')): - target_dir = join( - root, 'docs', 'i18n', - translation[len(gen_i18n):], - 'LC_MESSAGES', 'generic' - ) - translation = join(translation, 'LC_MESSAGES', 'generic') - shutil.rmtree(target_dir, ignore_errors=True) - shutil.copytree(translation, target_dir) - - # Compile translation catalogs. - for locale_dir in glob.iglob(join(root, 'docs', 'i18n', '*')): - for base, dirnames, filenames in os.walk(locale_dir): - for po in fnmatch.filter(filenames, '*.po'): - po = join(base, po) - mo = po[:-3] + '.mo' - call([pybabel, 'compile', '-f', '--statistics', - '-i', po, '-o', mo]) - - # Load the real Sphinx configuration file. + # Load the second-stage configuration file. os.chdir(cwd) - real_conf = join(root, 'vendor', 'erebot', 'buildenv', 'sphinx', 'conf.py') - print "Including real configuration file (%s)..." % (real_conf, ) - execfile(real_conf, globs, locs) - - # Patch configuration afterwards. - # - Theme - locs.setdefault('html_extra_path', []).append(join(root, 'build')) - locs['html_theme'] = 'haiku' - # - I18N - locs.setdefault('locale_dirs', []).insert(0, join(root, 'docs', 'i18n')) - # - misc. - locs['rst_prolog'] = locs.get('rst_prolog', '') + \ - '\n .. _`this_commit`: https://github.com/%s/%s/commit/%s\n' % ( - vendor, - project, - git_hash, - ) + conf = join(root, 'vendor', 'erebot', 'buildenv', 'sphinx', 'rtd.py') + print "Including the second configuration file (%s)..." % (conf, ) + execfile(conf, globs, locs) prepare(globals(), locals()) From 4ed83c6e6c78ebe7c77436b6a22894ebab9dc4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Tue, 9 May 2017 13:28:05 +0200 Subject: [PATCH 25/35] Update dependencies --- composer.lock | 115 +++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 71 deletions(-) diff --git a/composer.lock b/composer.lock index b58d481..953c74d 100644 --- a/composer.lock +++ b/composer.lock @@ -1857,64 +1857,37 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "2.8.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d" + "reference": "b95ff2c3b122a3ee4b57d149a57d2afce65522c3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d", - "reference": "d7cf0d894e8aa4c73712ee4a331cc1eaa37cdc7d", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/b95ff2c3b122a3ee4b57d149a57d2afce65522c3", + "reference": "b95ff2c3b122a3ee4b57d149a57d2afce65522c3", "shasum": "" }, "require": { "ext-simplexml": "*", "ext-tokenizer": "*", "ext-xmlwriter": "*", - "php": ">=5.1.2" + "php": ">=5.4.0" }, "require-dev": { "phpunit/phpunit": "~4.0" }, "bin": [ - "scripts/phpcs", - "scripts/phpcbf" + "bin/phpcs", + "bin/phpcbf" ], "type": "library", "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "3.x-dev" } }, - "autoload": { - "classmap": [ - "CodeSniffer.php", - "CodeSniffer/CLI.php", - "CodeSniffer/Exception.php", - "CodeSniffer/File.php", - "CodeSniffer/Fixer.php", - "CodeSniffer/Report.php", - "CodeSniffer/Reporting.php", - "CodeSniffer/Sniff.php", - "CodeSniffer/Tokens.php", - "CodeSniffer/Reports/", - "CodeSniffer/Tokenizers/", - "CodeSniffer/DocGenerators/", - "CodeSniffer/Standards/AbstractPatternSniff.php", - "CodeSniffer/Standards/AbstractScopeSniff.php", - "CodeSniffer/Standards/AbstractVariableSniff.php", - "CodeSniffer/Standards/IncorrectPatternException.php", - "CodeSniffer/Standards/Generic/Sniffs/", - "CodeSniffer/Standards/MySource/Sniffs/", - "CodeSniffer/Standards/PEAR/Sniffs/", - "CodeSniffer/Standards/PSR1/Sniffs/", - "CodeSniffer/Standards/PSR2/Sniffs/", - "CodeSniffer/Standards/Squiz/Sniffs/", - "CodeSniffer/Standards/Zend/Sniffs/" - ] - }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" @@ -1931,20 +1904,20 @@ "phpcs", "standards" ], - "time": "2017-03-01T22:17:45+00:00" + "time": "2017-05-04T00:33:04+00:00" }, { "name": "symfony/config", - "version": "v3.2.7", + "version": "v3.2.8", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "8444bde28e3c2a33e571e6f180c2d78bfdc4480d" + "reference": "e5533fcc0b3dd377626153b2852707878f363728" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/8444bde28e3c2a33e571e6f180c2d78bfdc4480d", - "reference": "8444bde28e3c2a33e571e6f180c2d78bfdc4480d", + "url": "https://api.github.com/repos/symfony/config/zipball/e5533fcc0b3dd377626153b2852707878f363728", + "reference": "e5533fcc0b3dd377626153b2852707878f363728", "shasum": "" }, "require": { @@ -1987,20 +1960,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2017-04-04T15:30:56+00:00" + "time": "2017-04-12T14:13:17+00:00" }, { "name": "symfony/console", - "version": "v3.2.7", + "version": "v3.2.8", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "c30243cc51f726812be3551316b109a2f5deaf8d" + "reference": "a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c30243cc51f726812be3551316b109a2f5deaf8d", - "reference": "c30243cc51f726812be3551316b109a2f5deaf8d", + "url": "https://api.github.com/repos/symfony/console/zipball/a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38", + "reference": "a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38", "shasum": "" }, "require": { @@ -2050,20 +2023,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2017-04-04T14:33:42+00:00" + "time": "2017-04-26T01:39:17+00:00" }, { "name": "symfony/debug", - "version": "v3.2.7", + "version": "v3.2.8", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "56f613406446a4a0a031475cfd0a01751de22659" + "reference": "fd6eeee656a5a7b384d56f1072243fe1c0e81686" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/56f613406446a4a0a031475cfd0a01751de22659", - "reference": "56f613406446a4a0a031475cfd0a01751de22659", + "url": "https://api.github.com/repos/symfony/debug/zipball/fd6eeee656a5a7b384d56f1072243fe1c0e81686", + "reference": "fd6eeee656a5a7b384d56f1072243fe1c0e81686", "shasum": "" }, "require": { @@ -2107,20 +2080,20 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2017-03-28T21:38:24+00:00" + "time": "2017-04-19T20:17:50+00:00" }, { "name": "symfony/dependency-injection", - "version": "v3.2.7", + "version": "v3.2.8", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "923bb014708b666e4092c9ba39993895c9c8fcd7" + "reference": "5e00857475b6d1fa31ff4c76f1fddf1cfa9e8d59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/923bb014708b666e4092c9ba39993895c9c8fcd7", - "reference": "923bb014708b666e4092c9ba39993895c9c8fcd7", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/5e00857475b6d1fa31ff4c76f1fddf1cfa9e8d59", + "reference": "5e00857475b6d1fa31ff4c76f1fddf1cfa9e8d59", "shasum": "" }, "require": { @@ -2170,20 +2143,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2017-04-04T07:26:27+00:00" + "time": "2017-04-26T01:39:17+00:00" }, { "name": "symfony/filesystem", - "version": "v3.2.7", + "version": "v3.2.8", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "64421e6479c4a8e60d790fb666bd520992861b66" + "reference": "040651db13cf061827a460cc10f6e36a445c45b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/64421e6479c4a8e60d790fb666bd520992861b66", - "reference": "64421e6479c4a8e60d790fb666bd520992861b66", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/040651db13cf061827a460cc10f6e36a445c45b4", + "reference": "040651db13cf061827a460cc10f6e36a445c45b4", "shasum": "" }, "require": { @@ -2219,20 +2192,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2017-03-26T15:47:15+00:00" + "time": "2017-04-12T14:13:17+00:00" }, { "name": "symfony/finder", - "version": "v3.2.7", + "version": "v3.2.8", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "b20900ce5ea164cd9314af52725b0bb5a758217a" + "reference": "9cf076f8f492f4b1ffac40aae9c2d287b4ca6930" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/b20900ce5ea164cd9314af52725b0bb5a758217a", - "reference": "b20900ce5ea164cd9314af52725b0bb5a758217a", + "url": "https://api.github.com/repos/symfony/finder/zipball/9cf076f8f492f4b1ffac40aae9c2d287b4ca6930", + "reference": "9cf076f8f492f4b1ffac40aae9c2d287b4ca6930", "shasum": "" }, "require": { @@ -2268,7 +2241,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2017-03-20T09:32:19+00:00" + "time": "2017-04-12T14:13:17+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -2331,16 +2304,16 @@ }, { "name": "symfony/yaml", - "version": "v3.2.7", + "version": "v3.2.8", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621" + "reference": "acec26fcf7f3031e094e910b94b002fa53d4e4d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/62b4cdb99d52cb1ff253c465eb1532a80cebb621", - "reference": "62b4cdb99d52cb1ff253c465eb1532a80cebb621", + "url": "https://api.github.com/repos/symfony/yaml/zipball/acec26fcf7f3031e094e910b94b002fa53d4e4d6", + "reference": "acec26fcf7f3031e094e910b94b002fa53d4e4d6", "shasum": "" }, "require": { @@ -2382,7 +2355,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-03-20T09:45:15+00:00" + "time": "2017-05-01T14:55:58+00:00" }, { "name": "theseer/fdomdocument", From fb5def4a7eeb70aebb8de3ef6c52101ff866c755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 9 Jul 2017 19:36:37 +0200 Subject: [PATCH 26/35] Update dependencies --- composer.lock | 245 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 156 insertions(+), 89 deletions(-) diff --git a/composer.lock b/composer.lock index 953c74d..2cdbba6 100644 --- a/composer.lock +++ b/composer.lock @@ -1019,16 +1019,16 @@ }, { "name": "phpunit/phpunit", - "version": "6.1.3", + "version": "6.2.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "824d02024916525a36b2db21847a5ef91db9e4a8" + "reference": "fa5711d0559fc4b64deba0702be52d41434cbcb7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/824d02024916525a36b2db21847a5ef91db9e4a8", - "reference": "824d02024916525a36b2db21847a5ef91db9e4a8", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fa5711d0559fc4b64deba0702be52d41434cbcb7", + "reference": "fa5711d0559fc4b64deba0702be52d41434cbcb7", "shasum": "" }, "require": { @@ -1048,8 +1048,8 @@ "phpunit/php-timer": "^1.0.6", "phpunit/phpunit-mock-objects": "^4.0", "sebastian/comparator": "^2.0", - "sebastian/diff": "^1.2", - "sebastian/environment": "^3.0.1", + "sebastian/diff": "^1.4.3 || ^2.0", + "sebastian/environment": "^3.0.2", "sebastian/exporter": "^3.1", "sebastian/global-state": "^1.1 || ^2.0", "sebastian/object-enumerator": "^3.0.2", @@ -1073,7 +1073,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "6.1.x-dev" + "dev-master": "6.2.x-dev" } }, "autoload": { @@ -1099,20 +1099,20 @@ "testing", "xunit" ], - "time": "2017-04-29T10:40:17+00:00" + "time": "2017-07-03T15:54:24+00:00" }, { "name": "phpunit/phpunit-mock-objects", - "version": "4.0.1", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "eabce450df194817a7d7e27e19013569a903a2bf" + "reference": "d8833b396dce9162bb2eb5d59aee5a3ab3cfa5b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/eabce450df194817a7d7e27e19013569a903a2bf", - "reference": "eabce450df194817a7d7e27e19013569a903a2bf", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/d8833b396dce9162bb2eb5d59aee5a3ab3cfa5b4", + "reference": "d8833b396dce9162bb2eb5d59aee5a3ab3cfa5b4", "shasum": "" }, "require": { @@ -1158,7 +1158,56 @@ "mock", "xunit" ], - "time": "2017-03-03T06:30:20+00:00" + "time": "2017-06-30T08:15:21+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "time": "2017-02-14T16:28:37+00:00" }, { "name": "psr/log", @@ -1318,23 +1367,23 @@ }, { "name": "sebastian/diff", - "version": "1.4.1", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e" + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/13edfd8706462032c2f52b4b862974dd46b71c9e", - "reference": "13edfd8706462032c2f52b4b862974dd46b71c9e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^5.3.3 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "~4.8" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" }, "type": "library", "extra": { @@ -1366,20 +1415,20 @@ "keywords": [ "diff" ], - "time": "2015-12-08T07:14:41+00:00" + "time": "2017-05-22T07:24:03+00:00" }, { "name": "sebastian/environment", - "version": "3.0.2", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "11e7710b7724d42c62249b0e9d3030240398949d" + "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/11e7710b7724d42c62249b0e9d3030240398949d", - "reference": "11e7710b7724d42c62249b0e9d3030240398949d", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5", + "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5", "shasum": "" }, "require": { @@ -1391,7 +1440,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "3.1.x-dev" } }, "autoload": { @@ -1416,7 +1465,7 @@ "environment", "hhvm" ], - "time": "2017-04-21T14:40:32+00:00" + "time": "2017-07-01T08:51:00+00:00" }, { "name": "sebastian/exporter", @@ -1857,16 +1906,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "b95ff2c3b122a3ee4b57d149a57d2afce65522c3" + "reference": "f9eaf037edf22fdfccf04cb0ab57ebcb1e166219" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/b95ff2c3b122a3ee4b57d149a57d2afce65522c3", - "reference": "b95ff2c3b122a3ee4b57d149a57d2afce65522c3", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/f9eaf037edf22fdfccf04cb0ab57ebcb1e166219", + "reference": "f9eaf037edf22fdfccf04cb0ab57ebcb1e166219", "shasum": "" }, "require": { @@ -1904,27 +1953,33 @@ "phpcs", "standards" ], - "time": "2017-05-04T00:33:04+00:00" + "time": "2017-06-14T01:23:49+00:00" }, { "name": "symfony/config", - "version": "v3.2.8", + "version": "v3.3.4", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "e5533fcc0b3dd377626153b2852707878f363728" + "reference": "a094618deb9a3fe1c3cf500a796e167d0495a274" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/e5533fcc0b3dd377626153b2852707878f363728", - "reference": "e5533fcc0b3dd377626153b2852707878f363728", + "url": "https://api.github.com/repos/symfony/config/zipball/a094618deb9a3fe1c3cf500a796e167d0495a274", + "reference": "a094618deb9a3fe1c3cf500a796e167d0495a274", "shasum": "" }, "require": { "php": ">=5.5.9", "symfony/filesystem": "~2.8|~3.0" }, + "conflict": { + "symfony/dependency-injection": "<3.3", + "symfony/finder": "<3.3" + }, "require-dev": { + "symfony/dependency-injection": "~3.3", + "symfony/finder": "~3.3", "symfony/yaml": "~3.0" }, "suggest": { @@ -1933,7 +1988,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -1960,20 +2015,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2017-04-12T14:13:17+00:00" + "time": "2017-06-16T12:40:34+00:00" }, { "name": "symfony/console", - "version": "v3.2.8", + "version": "v3.3.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38" + "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38", - "reference": "a7a17e0c6c3c4d70a211f80782e4b90ddadeaa38", + "url": "https://api.github.com/repos/symfony/console/zipball/a97e45d98c59510f085fa05225a1acb74dfe0546", + "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546", "shasum": "" }, "require": { @@ -1981,10 +2036,16 @@ "symfony/debug": "~2.8|~3.0", "symfony/polyfill-mbstring": "~1.0" }, + "conflict": { + "symfony/dependency-injection": "<3.3" + }, "require-dev": { "psr/log": "~1.0", + "symfony/config": "~3.3", + "symfony/dependency-injection": "~3.3", "symfony/event-dispatcher": "~2.8|~3.0", "symfony/filesystem": "~2.8|~3.0", + "symfony/http-kernel": "~2.8|~3.0", "symfony/process": "~2.8|~3.0" }, "suggest": { @@ -1996,7 +2057,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -2023,20 +2084,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2017-04-26T01:39:17+00:00" + "time": "2017-07-03T13:19:36+00:00" }, { "name": "symfony/debug", - "version": "v3.2.8", + "version": "v3.3.4", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "fd6eeee656a5a7b384d56f1072243fe1c0e81686" + "reference": "63b85a968486d95ff9542228dc2e4247f16f9743" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/fd6eeee656a5a7b384d56f1072243fe1c0e81686", - "reference": "fd6eeee656a5a7b384d56f1072243fe1c0e81686", + "url": "https://api.github.com/repos/symfony/debug/zipball/63b85a968486d95ff9542228dc2e4247f16f9743", + "reference": "63b85a968486d95ff9542228dc2e4247f16f9743", "shasum": "" }, "require": { @@ -2047,13 +2108,12 @@ "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" }, "require-dev": { - "symfony/class-loader": "~2.8|~3.0", "symfony/http-kernel": "~2.8|~3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -2080,43 +2140,50 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2017-04-19T20:17:50+00:00" + "time": "2017-07-05T13:02:37+00:00" }, { "name": "symfony/dependency-injection", - "version": "v3.2.8", + "version": "v3.3.4", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "5e00857475b6d1fa31ff4c76f1fddf1cfa9e8d59" + "reference": "986a633c92220ecb22ad06820a1df126c7a4f9eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/5e00857475b6d1fa31ff4c76f1fddf1cfa9e8d59", - "reference": "5e00857475b6d1fa31ff4c76f1fddf1cfa9e8d59", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/986a633c92220ecb22ad06820a1df126c7a4f9eb", + "reference": "986a633c92220ecb22ad06820a1df126c7a4f9eb", "shasum": "" }, "require": { - "php": ">=5.5.9" + "php": ">=5.5.9", + "psr/container": "^1.0" }, "conflict": { - "symfony/yaml": "<3.2" + "symfony/config": "<3.3.1", + "symfony/finder": "<3.3", + "symfony/yaml": "<3.3" + }, + "provide": { + "psr/container-implementation": "1.0" }, "require-dev": { - "symfony/config": "~2.8|~3.0", + "symfony/config": "~3.3", "symfony/expression-language": "~2.8|~3.0", - "symfony/yaml": "~3.2" + "symfony/yaml": "~3.3" }, "suggest": { "symfony/config": "", "symfony/expression-language": "For using expressions in service container configuration", + "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required", "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them", "symfony/yaml": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -2143,20 +2210,20 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2017-04-26T01:39:17+00:00" + "time": "2017-06-20T14:01:46+00:00" }, { "name": "symfony/filesystem", - "version": "v3.2.8", + "version": "v3.3.4", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "040651db13cf061827a460cc10f6e36a445c45b4" + "reference": "311fa718389efbd8b627c272b9324a62437018cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/040651db13cf061827a460cc10f6e36a445c45b4", - "reference": "040651db13cf061827a460cc10f6e36a445c45b4", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/311fa718389efbd8b627c272b9324a62437018cc", + "reference": "311fa718389efbd8b627c272b9324a62437018cc", "shasum": "" }, "require": { @@ -2165,7 +2232,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -2192,20 +2259,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2017-04-12T14:13:17+00:00" + "time": "2017-06-24T09:29:48+00:00" }, { "name": "symfony/finder", - "version": "v3.2.8", + "version": "v3.3.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "9cf076f8f492f4b1ffac40aae9c2d287b4ca6930" + "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/9cf076f8f492f4b1ffac40aae9c2d287b4ca6930", - "reference": "9cf076f8f492f4b1ffac40aae9c2d287b4ca6930", + "url": "https://api.github.com/repos/symfony/finder/zipball/baea7f66d30854ad32988c11a09d7ffd485810c4", + "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4", "shasum": "" }, "require": { @@ -2214,7 +2281,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -2241,20 +2308,20 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2017-04-12T14:13:17+00:00" + "time": "2017-06-01T21:01:25+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.3.0", + "version": "v1.4.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4" + "reference": "f29dca382a6485c3cbe6379f0c61230167681937" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/e79d363049d1c2128f133a2667e4f4190904f7f4", - "reference": "e79d363049d1c2128f133a2667e4f4190904f7f4", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937", + "reference": "f29dca382a6485c3cbe6379f0c61230167681937", "shasum": "" }, "require": { @@ -2266,7 +2333,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "1.4-dev" } }, "autoload": { @@ -2300,20 +2367,20 @@ "portable", "shim" ], - "time": "2016-11-14T01:06:16+00:00" + "time": "2017-06-09T14:24:12+00:00" }, { "name": "symfony/yaml", - "version": "v3.2.8", + "version": "v3.3.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "acec26fcf7f3031e094e910b94b002fa53d4e4d6" + "reference": "1f93a8d19b8241617f5074a123e282575b821df8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/acec26fcf7f3031e094e910b94b002fa53d4e4d6", - "reference": "acec26fcf7f3031e094e910b94b002fa53d4e4d6", + "url": "https://api.github.com/repos/symfony/yaml/zipball/1f93a8d19b8241617f5074a123e282575b821df8", + "reference": "1f93a8d19b8241617f5074a123e282575b821df8", "shasum": "" }, "require": { @@ -2328,7 +2395,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.2-dev" + "dev-master": "3.3-dev" } }, "autoload": { @@ -2355,20 +2422,20 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-05-01T14:55:58+00:00" + "time": "2017-06-15T12:58:50+00:00" }, { "name": "theseer/fdomdocument", - "version": "1.6.5", + "version": "1.6.6", "source": { "type": "git", "url": "https://github.com/theseer/fDOMDocument.git", - "reference": "8dcfd392135a5bd938c3c83ea71419501ad9855d" + "reference": "6e8203e40a32a9c770bcb62fe37e68b948da6dca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/8dcfd392135a5bd938c3c83ea71419501ad9855d", - "reference": "8dcfd392135a5bd938c3c83ea71419501ad9855d", + "url": "https://api.github.com/repos/theseer/fDOMDocument/zipball/6e8203e40a32a9c770bcb62fe37e68b948da6dca", + "reference": "6e8203e40a32a9c770bcb62fe37e68b948da6dca", "shasum": "" }, "require": { @@ -2395,7 +2462,7 @@ ], "description": "The classes contained within this repository extend the standard DOM to use exceptions at all occasions of errors instead of PHP warnings or notices. They also add various custom methods and shortcuts for convenience and to simplify the usage of DOM.", "homepage": "https://github.com/theseer/fDOMDocument", - "time": "2017-04-21T14:50:31+00:00" + "time": "2017-06-30T11:53:12+00:00" }, { "name": "theseer/tokenizer", From 8a4f49ce29240620d2a55133cbbc2641401c8ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 9 Jul 2017 19:54:49 +0200 Subject: [PATCH 27/35] Update distro requirements on travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 7087e01..7958309 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: php +dist: trusty sudo: false From 3b7ac4be8cf5801ca4b00806d3672801028a6f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sun, 9 Jul 2017 20:07:06 +0200 Subject: [PATCH 28/35] PHP 5.3 is not supported anymore --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7958309..94f1ce6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ cache: - vendor/ php: - - 5.3 - 5.4 - 5.5 - 5.6 From 1276e5d0afd724b9a9e1deb453015ff318829587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 15 Jul 2017 18:15:39 +0200 Subject: [PATCH 29/35] Fix patterns for dateTime.iso3601 & double types The XML-RPC type for dateTime.iso3601 uses a format which is slightly different from that of XSD. Also make the pattern for the "double" type stricter (we now properly reject +Inf/-Inf/NaN & values expressed using scientific notation). --- data/common.rng | 24 +++++++++++++++++++----- src/Types/DateTimeIso8601.php | 2 +- tests/testdata/requests/datetime.xml | 2 +- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/data/common.rng b/data/common.rng index a24c14c..8103260 100644 --- a/data/common.rng +++ b/data/common.rng @@ -72,15 +72,29 @@ - - + + (\+|-)?([0-9]+(\.[0-9]*)?|\.[0-9]+) + - - - + + + + + -?([0-9]{4})(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]) + + + + + + + diff --git a/src/Types/DateTimeIso8601.php b/src/Types/DateTimeIso8601.php index eda07c9..8a962b5 100644 --- a/src/Types/DateTimeIso8601.php +++ b/src/Types/DateTimeIso8601.php @@ -26,7 +26,7 @@ class DateTimeIso8601 extends \fpoirotte\XRL\Types\AbstractDateTime * We can't just use DateTime::ISO8601 (= "Y-m-d\\TH:i:sO") * because the XML-RPC specification forbids timezones. */ - const XMLRPC_FORMAT = 'Y-m-d\\TH:i:s'; + const XMLRPC_FORMAT = 'Ymd\\TH:i:s'; /// XML-RPC type for this class. const XMLRPC_TYPE = 'dateTime.iso8601'; diff --git a/tests/testdata/requests/datetime.xml b/tests/testdata/requests/datetime.xml index d4be08c..54eb30c 100644 --- a/tests/testdata/requests/datetime.xml +++ b/tests/testdata/requests/datetime.xml @@ -4,7 +4,7 @@ - 1985-11-28T13:00:00 + 19851128T13:00:00 From 710cef2d47dc83e43026a547cb2755e81253e986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 15 Jul 2017 18:16:22 +0200 Subject: [PATCH 30/35] Cache the version in the CLI The client now calls getVersion() for each RPC call to properly fill the User-Agent HTTP header. Since getVersion() may need to call external scripts using a shell and is therefore costly, the version information is now cached. --- src/CLI.php | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/src/CLI.php b/src/CLI.php index a042350..d91e322 100644 --- a/src/CLI.php +++ b/src/CLI.php @@ -30,25 +30,34 @@ class CLI */ public static function getVersion() { + static $version = null; + + // Return cached version if possible. + if (null !== $version) { + return $version; + } + // From a phar release. if (!strncmp('phar://', __FILE__, 7)) { $phar = new \Phar(__FILE__); $md = $phar->getMetadata(); - return $md['version']; - } - - // From a composer install. - $getver = dirname(__DIR__) . - DIRECTORY_SEPARATOR . 'vendor' . - DIRECTORY_SEPARATOR . 'erebot' . - DIRECTORY_SEPARATOR . 'buildenv' . - DIRECTORY_SEPARATOR . 'get_version.php'; - if (file_exists($getver)) { - return trim(shell_exec($getver)); + $version = $md['version']; + } else { + // From a composer install. + $getver = dirname(__DIR__) . + DIRECTORY_SEPARATOR . 'vendor' . + DIRECTORY_SEPARATOR . 'erebot' . + DIRECTORY_SEPARATOR . 'buildenv' . + DIRECTORY_SEPARATOR . 'get_version.php'; + if (file_exists($getver)) { + $version = trim(shell_exec($getver)); + } else { + // Default guess + $version = 'dev'; + } } - // Default guess. - return 'dev'; + return $version; } /** From 0551d3778f269c93f2f278033b24503d2d602adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 15 Jul 2017 18:18:39 +0200 Subject: [PATCH 31/35] Fix detection of associative arrays in ArrayType The "!=" operator returns true as long as both arrays share the same keys, despite them having totally different values. Hence the use of "!==" instead. --- src/Types/ArrayType.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Types/ArrayType.php b/src/Types/ArrayType.php index 4577801..f6fecac 100644 --- a/src/Types/ArrayType.php +++ b/src/Types/ArrayType.php @@ -47,9 +47,9 @@ public function set($value) sort($keys); } - // Hash / associative array. - if ($keys != $numeric) { - throw new \InvalidArgumentException('Expected array value2'); + // Detect associative arrays (which are invalid for this type). + if ($keys !== $numeric) { + throw new \InvalidArgumentException('Expected an indexed array'); } foreach ($value as $val) { From c6ef2ae3c6065228def5e5cd16617e0144b23aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 15 Jul 2017 18:21:09 +0200 Subject: [PATCH 32/35] Add a User-Agent to XML-RPC calls PHP does not add one automatically and some servers refuse to serve the request if this header is not present (usually with a "400 Bad request" error message). --- src/Client.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Client.php b/src/Client.php index 7b0f138..c4429aa 100644 --- a/src/Client.php +++ b/src/Client.php @@ -150,11 +150,17 @@ public function __call($method, array $args) $newArgs = array_map('\\fpoirotte\\XRL\\NativeEncoder::convert', $args); $request = new \fpoirotte\XRL\Request($method, $newArgs); $xml = $this->encoder->encodeRequest($request); + + $headers = array( + 'Content-Type: text/xml', + 'User-Agent: XRL/' . \fpoirotte\XRL\CLI::getVersion(), + ); + $options = array( 'http' => array( - 'method' => 'POST', - 'content' => $xml, - 'header' => 'Content-Type: text/xml', + 'method' => 'POST', + 'content' => $xml, + 'header' => $headers, ), ); From a8af46efc24f54b2adc37fa6e3f8a6ce0a6d2627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 15 Jul 2017 18:22:27 +0200 Subject: [PATCH 33/35] Improve invalid values detection & error messages --- src/Types/AbstractDateTime.php | 2 +- src/Types/ArrayType.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Types/AbstractDateTime.php b/src/Types/AbstractDateTime.php index e847440..f279cb1 100644 --- a/src/Types/AbstractDateTime.php +++ b/src/Types/AbstractDateTime.php @@ -58,7 +58,7 @@ protected static function parse($value, \DateTimeZone $timezone = null) $result = \DateTime::createFromFormat(static::XMLRPC_FORMAT, $value, $timezone); - if (strcasecmp($value, $result->format(static::XMLRPC_FORMAT))) { + if (!is_object($result) || strcasecmp($value, $result->format(static::XMLRPC_FORMAT))) { throw new \InvalidArgumentException('Invalid date/time'); } diff --git a/src/Types/ArrayType.php b/src/Types/ArrayType.php index f6fecac..1abbc4d 100644 --- a/src/Types/ArrayType.php +++ b/src/Types/ArrayType.php @@ -33,7 +33,7 @@ public function get() public function set($value) { if (!is_array($value)) { - throw new \InvalidArgumentException('Expected array value'); + throw new \InvalidArgumentException('Expected an array'); } $keys = array_keys($value); From 1e93847c4b4d73fe95fc568b9f8b6ee8fe0098e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 15 Jul 2017 18:36:16 +0200 Subject: [PATCH 34/35] Improve error reporting & update the tests --- src/Node.php | 16 +++++++++++++++- tests/FaultsTest.php | 10 +++------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/Node.php b/src/Node.php index c140ca7..39d8a94 100644 --- a/src/Node.php +++ b/src/Node.php @@ -92,7 +92,21 @@ public function __construct(\XMLReader $reader, $validate, $subtrees) } if ($validate && !$reader->isValid()) { - throw new \fpoirotte\XRL\Faults\InvalidXmlRpcException(); + $errors = ''; + foreach (libxml_get_errors() as $error) { + $message = trim($error->message); + $file = $error->file; + $line = $error->line; + $column = $error->column; + $errors .= "$message in '$file' on line $line, column $column\n"; + } + if ($errors) { + throw new \fpoirotte\XRL\Faults\InvalidXmlRpcException(trim($errors)); + } else { + // Use a generic error message in case the specific reason + // for the error cannot be pin-pointed. + throw new \fpoirotte\XRL\Faults\InvalidXmlRpcException(); + } } $subtrees = true; diff --git a/tests/FaultsTest.php b/tests/FaultsTest.php index 1a9c328..e801d37 100644 --- a/tests/FaultsTest.php +++ b/tests/FaultsTest.php @@ -92,17 +92,13 @@ public function testInvalidCharacter() */ public function testInvalidXmlRpc() { - $res = $this->server->handle( - 'data://;base64,' . - base64_encode( - '' - ) - ); + $url = 'data://;base64,' . base64_encode(''); + $res = $this->server->handle($url); $expected =<<faultCode -32600faultString fpoirotte\XRL\Faults\InvalidXmlRpcException: - server error. invalid xml-rpc. not conforming to spec + Did not expect element foo there in '$url' on line 1, column 0 EXPECTED; $this->assertSame( From bf823c28e945b6d73fc85d2f5a3cee9a1d27d05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poirotte?= Date: Sat, 15 Jul 2017 18:36:30 +0200 Subject: [PATCH 35/35] Update dependencies --- composer.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/composer.lock b/composer.lock index 2cdbba6..cae8583 100644 --- a/composer.lock +++ b/composer.lock @@ -548,22 +548,22 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "3.1.1", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e" + "reference": "46f7e8bb075036c92695b15a1ddb6971c751e585" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/46f7e8bb075036c92695b15a1ddb6971c751e585", + "reference": "46f7e8bb075036c92695b15a1ddb6971c751e585", "shasum": "" }, "require": { "php": ">=5.5", "phpdocumentor/reflection-common": "^1.0@dev", - "phpdocumentor/type-resolver": "^0.2.0", + "phpdocumentor/type-resolver": "^0.4.0", "webmozart/assert": "^1.0" }, "require-dev": { @@ -589,24 +589,24 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-09-30T07:12:33+00:00" + "time": "2017-07-15T11:38:20+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "0.2.1", + "version": "0.4.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", + "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", "shasum": "" }, "require": { - "php": ">=5.5", + "php": "^5.5 || ^7.0", "phpdocumentor/reflection-common": "^1.0" }, "require-dev": { @@ -636,7 +636,7 @@ "email": "me@mikevanriel.com" } ], - "time": "2016-11-25T06:54:22+00:00" + "time": "2017-07-14T14:27:02+00:00" }, { "name": "phpmd/phpmd",