summaryrefslogtreecommitdiffstats
path: root/php-phpunit-PHPUnit-SkeletonGenerator-php73.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-PHPUnit-SkeletonGenerator-php73.patch')
-rw-r--r--php-phpunit-PHPUnit-SkeletonGenerator-php73.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/php-phpunit-PHPUnit-SkeletonGenerator-php73.patch b/php-phpunit-PHPUnit-SkeletonGenerator-php73.patch
new file mode 100644
index 0000000..6c8f91b
--- /dev/null
+++ b/php-phpunit-PHPUnit-SkeletonGenerator-php73.patch
@@ -0,0 +1,12 @@
+diff -up ./src/ClassGenerator.php.old ./src/ClassGenerator.php
+--- ./src/ClassGenerator.php.old 2018-10-15 15:35:13.940571616 +0200
++++ ./src/ClassGenerator.php 2018-10-15 15:35:53.886797831 +0200
+@@ -458,7 +458,7 @@ class ClassGenerator extends AbstractGen
+ $tokens[$i+2] == '&' &&
+ is_array($tokens[$i+3]) &&
+ $tokens[$i+3][0] == T_STRING))) {
+- continue;
++ break;
+ }
+
+ $currentBlock = T_FUNCTION;