We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bddfc71 commit 28965c4Copy full SHA for 28965c4
commands/web/phpstan
@@ -12,6 +12,8 @@ if ! command -v phpstan >/dev/null; then
12
exit 1
13
fi
14
test -e phpstan.neon || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets/phpstan.neon
15
+# See https://git.drupalcode.org/project/gitlab_templates/-/commit/a107b7f1f79af12e0b09f70be47b68e3f69b4504
16
+sed -i 's/BASELINE_PLACEHOLDER/phpstan-baseline.neon/g' phpstan.neon
17
# Add an empty baseline file to ensure it exists.
18
test -e phpstan-baseline.neon || touch phpstan-baseline.neon
19
phpstan analyse $DDEV_DOCROOT/modules/custom "$@"
0 commit comments