Skip to content

Commit

Permalink
Moved RegularExpressionQuotingRule to level 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 1, 2024
1 parent d899a42 commit 4b974a4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion changelog-2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Major new features 🚀
* [#3023](https://github.com/phpstan/phpstan-src/pull/3023), thanks @staabm!
* LogicalXorConstantConditionRule (level 4) (https://github.com/phpstan/phpstan-src/commit/3a12724fd636b1bcf36c22b36e8f765d97150895, https://github.com/phpstan/phpstan-src/commit/3b011f6524254dad0f16840fdcfdbe7421548617), #7539
* Check that each trait is used and analysed at least once (level 4) (https://github.com/phpstan/phpstan-src/commit/c4d05276fb8605d6ac20acbe1cc5df31cd6c10b0)
* Check preg_quote delimiter sanity (level 0) ([#3252](https://github.com/phpstan/phpstan-src/pull/3252)), #11338, thanks @staabm!
* Check preg_quote delimiter sanity (level 5) ([#3252](https://github.com/phpstan/phpstan-src/pull/3252)), #11338, thanks @staabm!
* MagicConstantContextRule (level 0) ([#2741](https://github.com/phpstan/phpstan-src/pull/2741)), #10099, thanks @staabm!
* MissingMagicSerializationMethodsRule (level 0) ([#1711](https://github.com/phpstan/phpstan-src/pull/1711)), #7482, thanks @staabm!
* Check vprintf/vsprintf arguments against placeholder count (level 0) ([#3126](https://github.com/phpstan/phpstan-src/pull/3126)), thanks @staabm!
Expand Down
1 change: 0 additions & 1 deletion conf/config.level0.neon
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ rules:
- PHPStan\Rules\Properties\ReadOnlyPropertyRule
- PHPStan\Rules\Properties\ReadOnlyByPhpDocPropertyRule
- PHPStan\Rules\Regexp\RegularExpressionPatternRule
- PHPStan\Rules\Regexp\RegularExpressionQuotingRule
- PHPStan\Rules\Traits\ConflictingTraitConstantsRule
- PHPStan\Rules\Traits\ConstantsInTraitsRule
- PHPStan\Rules\Types\InvalidTypesInUnionRule
Expand Down
1 change: 1 addition & 0 deletions conf/config.level5.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rules:
- PHPStan\Rules\Functions\ParameterCastableToStringRule
- PHPStan\Rules\Functions\ImplodeParameterCastableToStringRule
- PHPStan\Rules\Functions\SortParameterCastableToStringRule
- PHPStan\Rules\Regexp\RegularExpressionQuotingRule

services:
-
Expand Down

0 comments on commit 4b974a4

Please sign in to comment.