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 7439259 commit e0b0599Copy full SHA for e0b0599
extension.neon
@@ -57,7 +57,7 @@ services:
57
58
-
59
class: PHPStan\Rules\PHPUnit\PHPUnitVersion
60
- factory: @PHPStan\Rules\PHPUnit\PHPUnitVersionDetector::getPHPUnitVersion()
+ factory: @PHPStan\Rules\PHPUnit\PHPUnitVersionDetector::create()
61
62
class: PHPStan\Rules\PHPUnit\PHPUnitVersionDetector
63
src/Rules/PHPUnit/PHPUnitVersionDetector.php
@@ -22,7 +22,7 @@ public function __construct(ReflectionProvider $reflectionProvider)
22
$this->reflectionProvider = $reflectionProvider;
23
}
24
25
- public function getPHPUnitVersion(): PHPUnitVersion
+ public function create(): PHPUnitVersion
26
{
27
if ($this->PHPUnitVersion !== null) {
28
return $this->PHPUnitVersion;
0 commit comments