Skip to content
Snippets Groups Projects
Commit dc4fd98e authored by James Wilson's avatar James Wilson
Browse files

Issue #3449084 by jwilson3: fix path to phpcs.xml.dist for 'ddev phpcbf'

parent 98ab1b01
No related branches found
No related tags found
No related merge requests found
...@@ -12,5 +12,5 @@ if ! command -v phpcbf >/dev/null; then ...@@ -12,5 +12,5 @@ if ! command -v phpcbf >/dev/null; then
echo "phpcbf is not available. You may need to 'ddev composer install'" echo "phpcbf is not available. You may need to 'ddev composer install'"
exit 1 exit 1
fi fi
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/phpcs.xml.dist test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets/phpcs.xml.dist
phpcbf -s --report-full --report-summary --report-source web/modules/custom "$@" phpcbf -s --report-full --report-summary --report-source web/modules/custom "$@"
...@@ -9,3 +9,4 @@ patches/* ...@@ -9,3 +9,4 @@ patches/*
/.editorconfig /.editorconfig
/.gitattributes /.gitattributes
/phpstan.neon /phpstan.neon
/phpcs.xml.dist
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment