diff --git a/commands/web/phpcbf b/commands/web/phpcbf index 9c1013c..756d2b4 100755 --- a/commands/web/phpcbf +++ b/commands/web/phpcbf @@ -12,4 +12,4 @@ if ! command -v phpcbf >/dev/null; then exit 1 fi 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 $DDEV_DOCROOT/modules/custom "$@" diff --git a/commands/web/phpcs b/commands/web/phpcs index 6728886..5df1fa9 100755 --- a/commands/web/phpcs +++ b/commands/web/phpcs @@ -12,4 +12,4 @@ if ! command -v phpcs >/dev/null; then exit 1 fi test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets/phpcs.xml.dist -phpcs -s --report-full --report-summary --report-source web/modules/custom --ignore=*/.ddev/* "$@" +phpcs -s --report-full --report-summary --report-source $DDEV_DOCROOT/modules/custom --ignore=*/.ddev/* "$@"