File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 "require-dev" : {
1919 "codeigniter4/devkit" : " ^1.0" ,
2020 "codeigniter4/framework" : " ^4.3" ,
21- "predis/predis" : " ^2.0"
21+ "predis/predis" : " ^2.0" ,
22+ "phpstan/phpstan-strict-rules" : " ^1.5"
2223 },
2324 "minimum-stability" : " dev" ,
2425 "prefer-stable" : true ,
Original file line number Diff line number Diff 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+
You can’t perform that action at this time.
0 commit comments