From 89bc3e4440e059a9b2178558bcc01a1a77d82a2a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 23 Dec 2017 17:55:05 +0100 Subject: Update to 0.9.2 open https://github.com/cakephp/phinx/pull/1278 fix tests use phpunit6 on Fedora allow Symfony 4 --- phinx-tests.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 phinx-tests.patch (limited to 'phinx-tests.patch') diff --git a/phinx-tests.patch b/phinx-tests.patch new file mode 100644 index 0000000..5db1090 --- /dev/null +++ b/phinx-tests.patch @@ -0,0 +1,24 @@ +diff -up tests/Phinx/Console/Command/CreateTest.php.old tests/Phinx/Console/Command/CreateTest.php +--- tests/Phinx/Console/Command/CreateTest.php.old 2017-12-23 17:43:31.217652943 +0100 ++++ tests/Phinx/Console/Command/CreateTest.php 2017-12-23 17:43:39.896696824 +0100 +@@ -384,7 +384,7 @@ class CreateTest extends TestCase + { + if (method_exists($this, 'expectException')) { + //PHPUnit 5+ +- $this->expectException($exception); ++ $this->expectException($exceptionName); + if ($exceptionMessage !== '') { + $this->expectExceptionMessage($exceptionMessage); + } +diff -up tests/Phinx/Migration/ManagerTest.php.old tests/Phinx/Migration/ManagerTest.php +--- tests/Phinx/Migration/ManagerTest.php.old 2017-12-23 17:43:18.862590475 +0100 ++++ tests/Phinx/Migration/ManagerTest.php 2017-12-23 17:43:34.709670598 +0100 +@@ -5710,7 +5710,7 @@ class ManagerTest extends TestCase + { + if (method_exists($this, 'expectException')) { + //PHPUnit 5+ +- $this->expectException($exception); ++ $this->expectException($exceptionName); + if ($exceptionMessage !== '') { + $this->expectExceptionMessage($exceptionMessage); + } -- cgit