summaryrefslogtreecommitdiffstats
path: root/php-phpunit-PHPUnit-SkeletonGenerator-php73.patch
blob: 6c8f91b32212826d361b8c9dfd53e3a3136093da (plain)
1
2
3
4
5
6
7
8
9
10
11
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;