Fix PHPStan errors
Lower PHPStan level to the lowest passing level. I'll start to increase it and fix the errors for higher levels when the CI pipeline is passing.
This commit is contained in:
parent
28be950672
commit
19f6b9954b
|
@ -20,7 +20,7 @@ php:
|
||||||
standards:
|
standards:
|
||||||
- Drupal
|
- Drupal
|
||||||
phpstan:
|
phpstan:
|
||||||
level: max
|
level: 1
|
||||||
paths:
|
paths:
|
||||||
- web/modules/custom
|
- web/modules/custom
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
parameters:
|
|
||||||
level: max
|
|
||||||
excludePaths:
|
|
||||||
- *Test.php
|
|
||||||
- *TestBase.php
|
|
||||||
paths:
|
|
||||||
- web/modules/custom
|
|
||||||
checkGenericClassInNonGenericObjectType: false
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
level: max
|
level: 1
|
||||||
excludePaths:
|
excludePaths:
|
||||||
- *Test.php
|
- *Test.php
|
||||||
- *TestBase.php
|
- *TestBase.php
|
||||||
|
|
Loading…
Reference in a new issue