Skip to content

Commit bf6c463

Browse files
authored
ForbidCastRule: fix custom blacklist (#297)
1 parent 79692c6 commit bf6c463

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules.neon

+2
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ services:
324324
allowNumericString: %shipmonkRules.forbidArithmeticOperationOnNonNumber.allowNumericString%
325325
-
326326
class: ShipMonk\PHPStan\Rule\ForbidCastRule
327+
arguments:
328+
blacklist: %shipmonkRules.forbidCast.blacklist%
327329
-
328330
class: ShipMonk\PHPStan\Rule\ForbidCheckedExceptionInCallableRule
329331
arguments:

0 commit comments

Comments
 (0)