Skip to content

Commit

Permalink
forbidNotNormalizedType: fix config key (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal committed Dec 19, 2023
1 parent b11162b commit 103bad2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ parameters:
enabled: true
forbidMethodCallOnMixed:
enabled: true
forbidNotNormalizedTypeRule:
forbidNotNormalizedType:
enabled: true
checkDisjunctiveNormalForm: true
forbidNullInAssignOperations:
Expand Down
8 changes: 4 additions & 4 deletions rules.neon
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ parameters:
enabled: true
forbidMethodCallOnMixed:
enabled: true
forbidNotNormalizedTypeRule:
forbidNotNormalizedType:
enabled: true
checkDisjunctiveNormalForm: true
forbidNullInAssignOperations:
Expand Down Expand Up @@ -184,7 +184,7 @@ parametersSchema:
forbidMethodCallOnMixed: structure([
enabled: bool()
])
forbidNotNormalizedTypeRule: structure([
forbidNotNormalizedType: structure([
enabled: bool()
checkDisjunctiveNormalForm: bool()
])
Expand Down Expand Up @@ -282,7 +282,7 @@ conditionalTags:
ShipMonk\PHPStan\Rule\ForbidMethodCallOnMixedRule:
phpstan.rules.rule: %shipmonkRules.forbidMethodCallOnMixed.enabled%
ShipMonk\PHPStan\Rule\ForbidNotNormalizedTypeRule:
phpstan.rules.rule: %shipmonkRules.forbidNotNormalizedTypeRule.enabled%
phpstan.rules.rule: %shipmonkRules.forbidNotNormalizedType.enabled%
ShipMonk\PHPStan\Rule\ForbidNullInAssignOperationsRule:
phpstan.rules.rule: %shipmonkRules.forbidNullInAssignOperations.enabled%
ShipMonk\PHPStan\Rule\ForbidNullInBinaryOperationsRule:
Expand Down Expand Up @@ -400,7 +400,7 @@ services:
-
class: ShipMonk\PHPStan\Rule\ForbidNotNormalizedTypeRule
arguments:
checkDisjunctiveNormalForm: %shipmonkRules.forbidNotNormalizedTypeRule.checkDisjunctiveNormalForm%
checkDisjunctiveNormalForm: %shipmonkRules.forbidNotNormalizedType.checkDisjunctiveNormalForm%
-
class: ShipMonk\PHPStan\Rule\ForbidMatchDefaultArmForEnumsRule
-
Expand Down

0 comments on commit 103bad2

Please sign in to comment.