diff options
author | Remi Collet <remi@remirepo.net> | 2017-08-07 06:55:59 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-08-07 06:55:59 +0200 |
commit | b6f43cc517d376ca477611530cc67fc7ba3d0d5a (patch) | |
tree | c755a05b9c38db8c3c5bf7841d6ca03210b74b76 /composer-pr6435.patch | |
parent | ae9c26572ea95a6a1a2f705bff2e12545e85759b (diff) |
v1.4.3
Diffstat (limited to 'composer-pr6435.patch')
-rw-r--r-- | composer-pr6435.patch | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/composer-pr6435.patch b/composer-pr6435.patch deleted file mode 100644 index 71792a9..0000000 --- a/composer-pr6435.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 95d82f6fde2795c7193cf4ad15fc71d279989842 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Mon, 22 May 2017 08:01:51 +0200 -Subject: [PATCH 1/2] fix test for json-schema 5.2 - ---- - tests/Composer/Test/Json/ComposerSchemaTest.php | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/tests/Composer/Test/Json/ComposerSchemaTest.php b/tests/Composer/Test/Json/ComposerSchemaTest.php -index 5ab623d02b6e..41e0cccb4f26 100644 ---- a/tests/Composer/Test/Json/ComposerSchemaTest.php -+++ b/tests/Composer/Test/Json/ComposerSchemaTest.php -@@ -101,9 +101,10 @@ private function check($json) - if (!$validator->isValid()) { - $errors = $validator->getErrors(); - -- // remove justinrainbow/json-schema 3.0 props so it works with all versions -+ // remove justinrainbow/json-schema 3.0/5.2 props so it works with all versions - foreach ($errors as &$err) { - unset($err['pointer']); -+ unset($err['context']); - } - - return $errors; - -From 741c8d63fbad0253a53b9558d98ee95b42fdbefc Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Mon, 22 May 2017 08:16:45 +0200 -Subject: [PATCH 2/2] fix test for Symfony 3.2 - ---- - tests/Composer/Test/IO/ConsoleIOTest.php | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/tests/Composer/Test/IO/ConsoleIOTest.php b/tests/Composer/Test/IO/ConsoleIOTest.php -index ace27a416f53..ff96a011fc0c 100644 ---- a/tests/Composer/Test/IO/ConsoleIOTest.php -+++ b/tests/Composer/Test/IO/ConsoleIOTest.php -@@ -218,8 +218,11 @@ public function testAskAndValidate() - ->will($this->returnValue($helperMock)) - ; - -+ $validator = function ($value) { -+ return true; -+ }; - $consoleIO = new ConsoleIO($inputMock, $outputMock, $setMock); -- $consoleIO->askAndValidate('Why?', 'validator', 10, 'default'); -+ $consoleIO->askAndValidate('Why?', $validator, 10, 'default'); - } - - public function testSelect() |