Skip to content

Commit f3ca646

Browse files
committed
Turn on checkAlwaysTrueLooseComparison
1 parent afbe1e3 commit f3ca646

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 1 addition & 0 deletions
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)