summaryrefslogtreecommitdiffstats
path: root/php-phpunit-PHPUnit-SkeletonGenerator-php73.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-10-15 15:46:31 +0200
committerRemi Collet <remi@remirepo.net>2018-10-15 15:46:31 +0200
commit1962fdd9c22bdd1b8f545c1e51fcb70a520ae83e (patch)
treec7c76c515b5c6d817e63c91a87f6c0d3ca29c97c /php-phpunit-PHPUnit-SkeletonGenerator-php73.patch
parent7d3f8cf3e4e3e82eafd45002eefc3a46d997adc6 (diff)
add patch for PHP 7.3HEADmaster
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;