File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3
3
# These can be reused by third party packages by including 'vendor/composer/pcre/extension.neon'
4
4
# in your phpstan config
5
5
6
+ conditionalTags :
7
+ Composer\Pcre\PHPStan\PregMatchParameterOutTypeExtension :
8
+ phpstan.staticMethodParameterOutTypeExtension : %featureToggles.narrowPregMatches%
9
+ Composer\Pcre\PHPStan\PregMatchTypeSpecifyingExtension :
10
+ phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension : %featureToggles.narrowPregMatches%
11
+
6
12
services :
7
13
-
8
14
class : Composer\Pcre\PHPStan\PregMatchParameterOutTypeExtension
9
- tags :
10
- - phpstan.staticMethodParameterOutTypeExtension
11
15
-
12
- class : Composer\Pcre\PHPStan\PregMatchTypeSpecifyingExtension
13
- tags :
14
- - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
16
+ class : Composer\Pcre\PHPStan\PregMatchTypeSpecifyingExtension
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ public function testFileAsserts(
37
37
public static function getAdditionalConfigFiles (): array
38
38
{
39
39
return [
40
+ 'phar:// ' . __DIR__ . '/../../vendor/phpstan/phpstan/phpstan.phar/conf/bleedingEdge.neon ' ,
40
41
__DIR__ . '/../../extension.neon ' ,
41
42
];
42
43
}
You can’t perform that action at this time.
0 commit comments