Skip to content

Commit

Permalink
Turn on checkAlwaysTrueLooseComparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Apr 28, 2022
1 parent afbe1e3 commit f3ca646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -7,7 +7,7 @@
],
"require": {
"php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.6.0"
"phpstan/phpstan": "^1.6.3"
},
"require-dev": {
"nikic/php-parser": "^4.13.0",
Expand Down
1 change: 1 addition & 0 deletions rules.neon
Expand Up @@ -4,6 +4,7 @@ parameters:
checkAlwaysTrueCheckTypeFunctionCall: true
checkAlwaysTrueInstanceof: true
checkAlwaysTrueStrictComparison: true
checkAlwaysTrueLooseComparison: true
checkDynamicProperties: %featureToggles.bleedingEdge%
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
Expand Down

0 comments on commit f3ca646

Please sign in to comment.