Skip to content

Commit

Permalink
Add phpstan-drupal (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
mglaman authored Dec 9, 2023
1 parent 8137753 commit 866c3ad
Show file tree
Hide file tree
Showing 5 changed files with 235 additions and 121 deletions.
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
],
"require": {
"php": "^8.1",
"drupal/core": "^10"
"drupal/core": "^10",
"mglaman/phpstan-drupal": "^1.2"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.31",
Expand Down Expand Up @@ -46,5 +47,10 @@
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"post-autoload-dump": [
"php tests/bootstrap.php"
]
}
}
Loading

0 comments on commit 866c3ad

Please sign in to comment.