File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 16
16
"phpstan/phpstan-phpunit" : " ^1.3.3" ,
17
17
"phpstan/phpstan-strict-rules" : " ^1.4.5" ,
18
18
"phpunit/phpunit" : " ^9.5.28" ,
19
+ "shipmonk/phpstan-rules" : " ^2.2.0" ,
19
20
"slevomat/coding-standard" : " ^8.8.0"
20
21
},
21
22
"autoload" : {
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ includes:
4
4
- ./vendor/phpstan/phpstan-strict-rules/rules.neon
5
5
- ./vendor/phpstan/phpstan-phpunit/extension.neon
6
6
- ./vendor/phpstan/phpstan-phpunit/rules.neon
7
+ - ./vendor/shipmonk/phpstan-rules/rules.neon
7
8
8
9
parameters:
9
10
paths:
@@ -13,3 +14,7 @@ parameters:
13
14
checkMissingCallableSignature: true
14
15
checkUninitializedProperties: true
15
16
checkTooWideReturnTypesInProtectedAndPublicMethods: true
17
+
18
+ shipmonkRules:
19
+ enforceReadonlyPublicProperty:
20
+ enabled: false # it simplifies tests a bit
You can’t perform that action at this time.
0 commit comments