diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-09-29 15:32:13 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-09-29 15:32:13 +0200 |
commit | a75abbdf45365eeefa82c22033402056cc2c912c (patch) | |
tree | 07f6a319c6334ac65a2cde7e68513b3101efb6c7 /phpunit-mock-objects-3.0.0-rpm.patch | |
parent | a03ec3cd2114ff6b3c0d72382c7e0bc058c5a118 (diff) |
php-phpunit-PHPUnit-MockObject: 3.0.0dev
Diffstat (limited to 'phpunit-mock-objects-3.0.0-rpm.patch')
-rw-r--r-- | phpunit-mock-objects-3.0.0-rpm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/phpunit-mock-objects-3.0.0-rpm.patch b/phpunit-mock-objects-3.0.0-rpm.patch new file mode 100644 index 0000000..9ab307b --- /dev/null +++ b/phpunit-mock-objects-3.0.0-rpm.patch @@ -0,0 +1,13 @@ +diff -up src/Framework/MockObject/Generator.php.orig src/Framework/MockObject/Generator.php +--- src/Framework/MockObject/Generator.php.orig 2015-09-29 15:05:06.584010593 +0200 ++++ src/Framework/MockObject/Generator.php 2015-09-29 15:09:06.450975301 +0200 +@@ -12,6 +12,9 @@ use Doctrine\Instantiator\Instantiator; + use Doctrine\Instantiator\Exception\InvalidArgumentException as InstantiatorInvalidArgumentException; + use Doctrine\Instantiator\Exception\UnexpectedValueException as InstantiatorUnexpectedValueException; + ++# temporary workaround ++require_once 'Text/Template.php'; ++ + /** + * Mock Object Code Generator + * |