diff --git a/build.yaml b/build.yaml index f98fc32..151acf1 100644 --- a/build.yaml +++ b/build.yaml @@ -20,7 +20,7 @@ php: standards: - Drupal phpstan: - level: max + level: 1 paths: - web/modules/custom diff --git a/phpstan.neon b/phpstan.neon deleted file mode 100644 index 6e5f71d..0000000 --- a/phpstan.neon +++ /dev/null @@ -1,8 +0,0 @@ -parameters: - level: max - excludePaths: - - *Test.php - - *TestBase.php - paths: - - web/modules/custom - checkGenericClassInNonGenericObjectType: false diff --git a/phpstan.neon.dist b/phpstan.neon.dist index a5a696c..084cfc4 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,7 +1,7 @@ # Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs. parameters: - level: max + level: 1 excludePaths: - *Test.php - *TestBase.php