diff options
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 + * |