extension.neon 760 B

12345678910111213141516171819202122
  1. # composer/pcre PHPStan extensions
  2. #
  3. # These can be reused by third party packages by including 'vendor/composer/pcre/extension.neon'
  4. # in your phpstan config
  5. services:
  6. -
  7. class: Composer\Pcre\PHPStan\PregMatchParameterOutTypeExtension
  8. tags:
  9. - phpstan.staticMethodParameterOutTypeExtension
  10. -
  11. class: Composer\Pcre\PHPStan\PregMatchTypeSpecifyingExtension
  12. tags:
  13. - phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension
  14. -
  15. class: Composer\Pcre\PHPStan\PregReplaceCallbackClosureTypeExtension
  16. tags:
  17. - phpstan.staticMethodParameterClosureTypeExtension
  18. rules:
  19. - Composer\Pcre\PHPStan\UnsafeStrictGroupsCallRule
  20. - Composer\Pcre\PHPStan\InvalidRegexPatternRule