Skip to content

Commit 00ac45e

Browse files
committed
Use phpstan/extension-installer
1 parent 636aee6 commit 00ac45e

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

composer.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717
"webflo/drupal-finder": "^1.2"
1818
},
1919
"require-dev": {
20-
"phpstan/phpstan-strict-rules": "^1.0",
21-
"squizlabs/php_codesniffer": "^3.3",
22-
"phpunit/phpunit": "^6.5 || ^7.5 || ^8.0 || ^9",
23-
"phpstan/phpstan-deprecation-rules": "^1.0",
2420
"composer/installers": "^1.9",
25-
"drupal/core-recommended": "^8.8@alpha || ^9.0",
2621
"drupal/core-dev": "^8.8@alpha || ^9.0",
27-
"drush/drush": "^9.6 | ^10.0"
22+
"drupal/core-recommended": "^8.8@alpha || ^9.0",
23+
"drush/drush": "^9.6 | ^10.0",
24+
"phpstan/extension-installer": "^1.1",
25+
"phpstan/phpstan-deprecation-rules": "^1.0",
26+
"phpstan/phpstan-strict-rules": "^1.0",
27+
"phpunit/phpunit": "^6.5 || ^7.5 || ^8.0 || ^9",
28+
"squizlabs/php_codesniffer": "^3.3"
2829
},
2930
"minimum-stability": "dev",
3031
"prefer-stable": true,
@@ -65,7 +66,8 @@
6566
},
6667
"config": {
6768
"allow-plugins": {
68-
"composer/installers": true
69+
"composer/installers": true,
70+
"phpstan/extension-installer": true
6971
}
7072
}
7173
}

phpstan.neon

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
includes:
2-
- vendor/phpstan/phpstan-strict-rules/rules.neon
3-
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
41
parameters:
52
level: 8
63
checkGenericClassInNonGenericObjectType: false

0 commit comments

Comments
 (0)