Skip to content

Commit 103bad2

Browse files
authored
forbidNotNormalizedType: fix config key (#193)
1 parent b11162b commit 103bad2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ parameters:
9292
enabled: true
9393
forbidMethodCallOnMixed:
9494
enabled: true
95-
forbidNotNormalizedTypeRule:
95+
forbidNotNormalizedType:
9696
enabled: true
9797
checkDisjunctiveNormalForm: true
9898
forbidNullInAssignOperations:

rules.neon

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ parameters:
7171
enabled: true
7272
forbidMethodCallOnMixed:
7373
enabled: true
74-
forbidNotNormalizedTypeRule:
74+
forbidNotNormalizedType:
7575
enabled: true
7676
checkDisjunctiveNormalForm: true
7777
forbidNullInAssignOperations:
@@ -184,7 +184,7 @@ parametersSchema:
184184
forbidMethodCallOnMixed: structure([
185185
enabled: bool()
186186
])
187-
forbidNotNormalizedTypeRule: structure([
187+
forbidNotNormalizedType: structure([
188188
enabled: bool()
189189
checkDisjunctiveNormalForm: bool()
190190
])
@@ -282,7 +282,7 @@ conditionalTags:
282282
ShipMonk\PHPStan\Rule\ForbidMethodCallOnMixedRule:
283283
phpstan.rules.rule: %shipmonkRules.forbidMethodCallOnMixed.enabled%
284284
ShipMonk\PHPStan\Rule\ForbidNotNormalizedTypeRule:
285-
phpstan.rules.rule: %shipmonkRules.forbidNotNormalizedTypeRule.enabled%
285+
phpstan.rules.rule: %shipmonkRules.forbidNotNormalizedType.enabled%
286286
ShipMonk\PHPStan\Rule\ForbidNullInAssignOperationsRule:
287287
phpstan.rules.rule: %shipmonkRules.forbidNullInAssignOperations.enabled%
288288
ShipMonk\PHPStan\Rule\ForbidNullInBinaryOperationsRule:
@@ -400,7 +400,7 @@ services:
400400
-
401401
class: ShipMonk\PHPStan\Rule\ForbidNotNormalizedTypeRule
402402
arguments:
403-
checkDisjunctiveNormalForm: %shipmonkRules.forbidNotNormalizedTypeRule.checkDisjunctiveNormalForm%
403+
checkDisjunctiveNormalForm: %shipmonkRules.forbidNotNormalizedType.checkDisjunctiveNormalForm%
404404
-
405405
class: ShipMonk\PHPStan\Rule\ForbidMatchDefaultArmForEnumsRule
406406
-

0 commit comments

Comments
 (0)