We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d31a409 commit c0c4a01Copy full SHA for c0c4a01
extension.neon
@@ -57,7 +57,7 @@ services:
57
58
-
59
class: PHPStan\Rules\PHPUnit\PHPUnitVersion
60
- factory: @PHPStan\Rules\PHPUnit\PHPUnitVersionDetector::create()
+ factory: @PHPStan\Rules\PHPUnit\PHPUnitVersionDetector::createPHPUnitVersion()
61
62
class: PHPStan\Rules\PHPUnit\PHPUnitVersionDetector
63
src/Rules/PHPUnit/PHPUnitVersionDetector.php
@@ -20,7 +20,7 @@ public function __construct(ReflectionProvider $reflectionProvider)
20
$this->reflectionProvider = $reflectionProvider;
21
}
22
23
- public function create(): PHPUnitVersion
+ public function createPHPUnitVersion(): PHPUnitVersion
24
{
25
$majorVersion = null;
26
if ($this->reflectionProvider->hasClass(TestCase::class)) {
0 commit comments