Skip to content

Commit f3ca646

Browse files
committed
Turn on checkAlwaysTrueLooseComparison
1 parent afbe1e3 commit f3ca646

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.2 || ^8.0",
10-
"phpstan/phpstan": "^1.6.0"
10+
"phpstan/phpstan": "^1.6.3"
1111
},
1212
"require-dev": {
1313
"nikic/php-parser": "^4.13.0",

rules.neon

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ parameters:
44
checkAlwaysTrueCheckTypeFunctionCall: true
55
checkAlwaysTrueInstanceof: true
66
checkAlwaysTrueStrictComparison: true
7+
checkAlwaysTrueLooseComparison: true
78
checkDynamicProperties: %featureToggles.bleedingEdge%
89
checkExplicitMixedMissingReturn: true
910
checkFunctionNameCase: true

0 commit comments

Comments
 (0)