|
7 | 7 | use MabeEnum\PHPStan\tests\assets\DocCommentEnum;
|
8 | 8 | use MabeEnum\PHPStan\tests\assets\VisibilityEnum;
|
9 | 9 | use PHPStan\Reflection\ParametersAcceptorSelector;
|
| 10 | +use PHPStan\Reflection\ReflectionProvider; |
10 | 11 | use PHPStan\Testing\PHPStanTestCase;
|
11 | 12 | use PHPStan\Type\VerbosityLevel;
|
12 | 13 | use PHPStan\Analyser\Scope;
|
13 | 14 |
|
14 | 15 | class EnumMethodReflectionTest extends PHPStanTestCase
|
15 | 16 | {
|
16 |
| - /** |
17 |
| - * @var \PHPStan\Reflection\ReflectionProvider |
18 |
| - */ |
19 |
| - protected $reflectionProvider; |
20 |
| - |
21 |
| - /** |
22 |
| - * @var EnumMethodsClassReflectionExtension |
23 |
| - */ |
24 |
| - protected $reflectionExtension; |
| 17 | + protected ReflectionProvider $reflectionProvider; |
| 18 | + protected EnumMethodsClassReflectionExtension $reflectionExtension; |
25 | 19 |
|
26 | 20 | public function setUp(): void
|
27 | 21 | {
|
@@ -162,14 +156,4 @@ public function testHasSideEffects(): void
|
162 | 156 |
|
163 | 157 | $this->assertTrue($methodReflection->hasSideEffects()->no());
|
164 | 158 | }
|
165 |
| - |
166 |
| - public static function assertMatchesRegularExpression(string $pattern, string $string, string $message = ''): void |
167 |
| - { |
168 |
| - parent::assertMatchesRegularExpression($pattern, $string, $message); |
169 |
| - } |
170 |
| - |
171 |
| - public static function assertDoesNotMatchRegularExpression(string $pattern, string $string, string $message = ''): void |
172 |
| - { |
173 |
| - parent::assertDoesNotMatchRegularExpression($pattern, $string, $message); |
174 |
| - } |
175 | 159 | }
|
0 commit comments