diff --git a/composer.json b/composer.json index e6d46db..d0874ae 100644 --- a/composer.json +++ b/composer.json @@ -21,18 +21,9 @@ "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^1.0", "drupal/coder": "^8.3", - "mglaman/phpstan-drupal": "^1.1", - "phpstan/extension-installer": "^1.3", - "phpstan/phpstan-deprecation-rules": "^1.1", "phpunit/phpunit": "^9.5" }, "scripts": { - "code-analysis/phpstan": [ - "phpstan analyse" - ], - "code-analysis": [ - "@code-analysis/phpstan" - ], "coding-standards-check/phpcs": [ "phpcs --standard=phpcs.xml.dist" ], @@ -48,8 +39,7 @@ }, "config": { "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true, - "phpstan/extension-installer": true + "dealerdirect/phpcodesniffer-composer-installer": true } } } diff --git a/phpstan.neon b/phpstan.neon deleted file mode 100644 index 56bf890..0000000 --- a/phpstan.neon +++ /dev/null @@ -1,13 +0,0 @@ -parameters: - level: 6 - paths: - - ./ - excludePaths: - # @see https://github.com/mglaman/drupal-check/issues/261#issuecomment-1030141772/ - - vendor - - '*/node_modules/*' - ignoreErrors: - # This is how drupal works.... - - '#\Drupal calls should be avoided in classes, use dependency injection instead#' - - '#The text '@deprecated use lookup\(\) instead.' does not match the standard format: @deprecated in %deprecation-version% and is#' - - '#Each @deprecated tag must have a @see tag immediately following it#'