summaryrefslogtreecommitdiffstats
path: root/phpunit-mock-objects-4.0.0-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit-mock-objects-4.0.0-rpm.patch')
-rw-r--r--phpunit-mock-objects-4.0.0-rpm.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpunit-mock-objects-4.0.0-rpm.patch b/phpunit-mock-objects-4.0.0-rpm.patch
new file mode 100644
index 0000000..d749f6a
--- /dev/null
+++ b/phpunit-mock-objects-4.0.0-rpm.patch
@@ -0,0 +1,13 @@
+diff -up src/Generator.php.rpm src/Generator.php
+--- src/Generator.php.rpm 2017-02-07 15:28:34.953786524 +0100
++++ src/Generator.php 2017-02-07 15:28:38.772803856 +0100
+@@ -13,6 +13,9 @@ use Doctrine\Instantiator\Exception\Inva
+ use Doctrine\Instantiator\Exception\UnexpectedValueException as InstantiatorUnexpectedValueException;
+ use PHPUnit\Util\InvalidArgumentHelper;
+
++# temporary workaround
++require_once 'Text/Template.php';
++
+ /**
+ * Mock Object Code Generator
+ */