Skip to content

Commit a3443cc

Browse files
committed
Fix PHPStan configuration.
1 parent 925b5e2 commit a3443cc

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@
2424
"drupal/core": "^8.9 || ^9",
2525
"drupal/drupal-extension": "^4.1",
2626
"ergebnis/composer-normalize": "^2.8",
27-
"mglaman/phpstan-drupal": "^0.12.5",
27+
"mglaman/phpstan-drupal": "^0.12.6",
2828
"nette/neon": "^3.2",
2929
"phpmd/phpmd": "^2.9",
3030
"phpro/grumphp": "^0.18.1",
3131
"phpspec/prophecy": "^1.10",
32-
"phpstan/phpstan": "0.12.48",
3332
"phpstan/phpstan-deprecation-rules": "^0.12.5",
3433
"phpunit/phpunit": "^7.5",
3534
"sebastian/phpcpd": "^4.0",

configs/phpstan-extension-d9.neon

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
includes:
2-
- vendor/mglaman/phpstan-drupal/extension.neon
3-
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
2+
- ../../../mglaman/phpstan-drupal/extension.neon
3+
- ../../../phpstan/phpstan-deprecation-rules/rules.neon
44

55
parameters:
66
tipsOfTheDay: false
77
customRulesetUsed: true
88
reportUnmatchedIgnoredErrors: false
99
ignoreErrors:
1010
- '#^(?:(?!deprecated).)*$#'
11-
excludes_analyse:
12-
- 'tests/*'
1311
drupal:
1412
drupal_root: ../drupal

0 commit comments

Comments
 (0)