Skip to content

Commit 82c695d

Browse files
committed
chore: add strictRules
1 parent a65bf7f commit 82c695d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

phpstan.neon.dist

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ parameters:
88
- vendor/codeigniter4/framework/system/Test/bootstrap.php
99
excludePaths:
1010
ignoreErrors:
11+
-
12+
message: '#Call to method PHPUnit\\Framework\\Assert::assertInstanceOf\(\) with.#'
1113
-
1214
message: '#Call to deprecated function random_string\(\):#'
1315
paths:
@@ -33,3 +35,10 @@ parameters:
3335
- APP_NAMESPACE
3436
- CI_DEBUG
3537
- ENVIRONMENT
38+
strictRules:
39+
allRules: false
40+
disallowedLooseComparison: true
41+
booleansInConditions: true
42+
disallowedConstructs: true
43+
matchingInheritedMethodNames: true
44+

0 commit comments

Comments
 (0)