rector/vendor/composer/pcre/extension.neon
Tomas Votruba e001fc4219 Updated Rector to commit 4f70e80c2d5f1febd01de2e7fa4a057880909dcb
4f70e80c2d Bump phpstan to 1.11.11 and pcre to 3.3.0 (#6241)
2024-08-20 13:23:49 +00:00

23 lines
760 B
YAML

# composer/pcre PHPStan extensions
#
# These can be reused by third party packages by including 'vendor/composer/pcre/extension.neon'
# in your phpstan config
services:
-
class: Composer\Pcre\PHPStan\PregMatchParameterOutTypeExtension
tags:
- phpstan.staticMethodParameterOutTypeExtension
-
class: Composer\Pcre\PHPStan\PregMatchTypeSpecifyingExtension
tags:
- phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
-
class: Composer\Pcre\PHPStan\PregReplaceCallbackClosureTypeExtension
tags:
- phpstan.staticMethodParameterClosureTypeExtension
rules:
- Composer\Pcre\PHPStan\UnsafeStrictGroupsCallRule
- Composer\Pcre\PHPStan\InvalidRegexPatternRule