Skip to content

Commit 4b974a4

Browse files
committed
Moved RegularExpressionQuotingRule to level 5
1 parent d899a42 commit 4b974a4

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

changelog-2.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Major new features 🚀
2828
* [#3023](https://github.com/phpstan/phpstan-src/pull/3023), thanks @staabm!
2929
* LogicalXorConstantConditionRule (level 4) (https://github.com/phpstan/phpstan-src/commit/3a12724fd636b1bcf36c22b36e8f765d97150895, https://github.com/phpstan/phpstan-src/commit/3b011f6524254dad0f16840fdcfdbe7421548617), #7539
3030
* Check that each trait is used and analysed at least once (level 4) (https://github.com/phpstan/phpstan-src/commit/c4d05276fb8605d6ac20acbe1cc5df31cd6c10b0)
31-
* Check preg_quote delimiter sanity (level 0) ([#3252](https://github.com/phpstan/phpstan-src/pull/3252)), #11338, thanks @staabm!
31+
* Check preg_quote delimiter sanity (level 5) ([#3252](https://github.com/phpstan/phpstan-src/pull/3252)), #11338, thanks @staabm!
3232
* MagicConstantContextRule (level 0) ([#2741](https://github.com/phpstan/phpstan-src/pull/2741)), #10099, thanks @staabm!
3333
* MissingMagicSerializationMethodsRule (level 0) ([#1711](https://github.com/phpstan/phpstan-src/pull/1711)), #7482, thanks @staabm!
3434
* Check vprintf/vsprintf arguments against placeholder count (level 0) ([#3126](https://github.com/phpstan/phpstan-src/pull/3126)), thanks @staabm!

conf/config.level0.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ rules:
9898
- PHPStan\Rules\Properties\ReadOnlyPropertyRule
9999
- PHPStan\Rules\Properties\ReadOnlyByPhpDocPropertyRule
100100
- PHPStan\Rules\Regexp\RegularExpressionPatternRule
101-
- PHPStan\Rules\Regexp\RegularExpressionQuotingRule
102101
- PHPStan\Rules\Traits\ConflictingTraitConstantsRule
103102
- PHPStan\Rules\Traits\ConstantsInTraitsRule
104103
- PHPStan\Rules\Types\InvalidTypesInUnionRule

conf/config.level5.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ rules:
1111
- PHPStan\Rules\Functions\ParameterCastableToStringRule
1212
- PHPStan\Rules\Functions\ImplodeParameterCastableToStringRule
1313
- PHPStan\Rules\Functions\SortParameterCastableToStringRule
14+
- PHPStan\Rules\Regexp\RegularExpressionQuotingRule
1415

1516
services:
1617
-

0 commit comments

Comments
 (0)