Add PHPStan

This commit is contained in:
Oliver Davies 2020-04-24 08:54:02 +01:00
parent 1ab692bb16
commit cb781a8583
4 changed files with 355 additions and 2 deletions

View file

@ -34,7 +34,10 @@
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",
"drupal/coder": "^8.3"
"drupal/coder": "^8.3",
"mglaman/phpstan-drupal": "^0.12.3",
"phpstan/phpstan": "^0.12.19",
"phpstan/phpstan-deprecation-rules": "^0.12.2"
},
"conflict": {
"drupal/drupal": "*"