forked from ec-europa/joinup-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
16 lines (16 loc) · 771 Bytes
/
phpstan.neon
File metadata and controls
16 lines (16 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
parameters:
customRulesetUsed: true
reportUnmatchedIgnoredErrors: false
# Ignore phpstan-drupal extension's rules.
ignoreErrors:
# TODO: Remove un-ignore this rule in ISAICP-5899.
- '#\Drupal calls should be avoided in classes, use dependency injection instead#'
excludes_analyse:
# For some reasons, ContinuousPHP reports:
# > Class Drupal\Sniffs\NamingConventions\ValidFunctionNameSniff not
# > found and could not be autoloaded.
# TODO: Investigate and re-add the PHPCS sniff file to static analysis.
- src/CodingStandards/Sniffs/NamingConventions/ValidUpdateNameSniff.php
includes:
- vendor/mglaman/phpstan-drupal/extension.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon