File tree 3 files changed +21
-1
lines changed
tests/PHPStan/Rules/Methods
3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 21
21
"nette/utils" : " dev-master as 3.1.99" ,
22
22
"nikic/php-parser" : " 4.7.0" ,
23
23
"ondram/ci-detector" : " ^3.4.0" ,
24
- "ondrejmirtes/better-reflection" : " 4.3.21 " ,
24
+ "ondrejmirtes/better-reflection" : " 4.3.22 " ,
25
25
"phpdocumentor/reflection-docblock" : " 4.3.4" ,
26
26
"phpstan/phpdoc-parser" : " ^0.4.8" ,
27
27
"react/child-process" : " ^0.6.1" ,
Original file line number Diff line number Diff line change @@ -342,4 +342,13 @@ public function testBug3478(): void
342
342
$ this ->analyse ([__DIR__ . '/data/bug-3478.php ' ], []);
343
343
}
344
344
345
+ public function testBug3629 (): void
346
+ {
347
+ if (!self ::$ useStaticReflectionProvider ) {
348
+ $ this ->markTestSkipped ('Test require static reflection. ' );
349
+ }
350
+ $ this ->phpVersionId = PHP_VERSION_ID ;
351
+ $ this ->analyse ([__DIR__ . '/data/bug-3629.php ' ], []);
352
+ }
353
+
345
354
}
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Bug3629 ;
4
+
5
+ class HelloWorld extends \Thread
6
+ {
7
+ public function start (int $ options = PTHREADS_INHERIT_ALL )
8
+ {
9
+ return parent ::start ($ options );
10
+ }
11
+ }
You can’t perform that action at this time.
0 commit comments