Skip to content

Commit 8f57dd9

Browse files
committed
Resolve issue with code-analysis
1 parent cfd02e0 commit 8f57dd9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626
"require-dev": {
2727
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
2828
"drupal/coder": "^8.3",
29-
"mglaman/drupal-check": "^1.4"
29+
"mglaman/drupal-check": "^1.4",
30+
"mglaman/phpstan-drupal": "~1.2"
3031
},
3132
"scripts": {
3233
"code-analysis/drupal-check": [
33-
"vendor/bin/drupal-check --deprecations --analysis --exclude-dir=vendor *.* src"
34+
"vendor/bin/drupal-check --deprecations --analysis --exclude-dir='vendor' *.* src"
3435
],
3536
"code-analysis": [
3637
"@code-analysis/drupal-check"

phpcs.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<arg value="p"/>
1111

1212
<arg name="extensions" value="php,module,inc,install,test,profile,theme,css,info,txt,yml"/>
13-
<config name="drupal_core_version" value="9"/>
13+
<config name="drupal_core_version" value="10"/>
1414

1515
<rule ref="Drupal">
1616
<!-- <exclude name="Drupal.Files.TxtFileLineLength.TooLong"/> -->

0 commit comments

Comments
 (0)