Skip to content

Commit bddfc71

Browse files
fix: use instead of hardcoded web/ (#94)
Co-authored-by: Moshe Weitzman <weitzman@tejasa.com>
1 parent a4ebc70 commit bddfc71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commands/web/phpcbf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ if ! command -v phpcbf >/dev/null; then
1212
exit 1
1313
fi
1414
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets/phpcs.xml.dist
15-
phpcbf -s --report-full --report-summary --report-source web/modules/custom "$@"
15+
phpcbf -s --report-full --report-summary --report-source $DDEV_DOCROOT/modules/custom "$@"

commands/web/phpcs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ if ! command -v phpcs >/dev/null; then
1212
exit 1
1313
fi
1414
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets/phpcs.xml.dist
15-
phpcs -s --report-full --report-summary --report-source web/modules/custom --ignore=*/.ddev/* "$@"
15+
phpcs -s --report-full --report-summary --report-source $DDEV_DOCROOT/modules/custom --ignore=*/.ddev/* "$@"

0 commit comments

Comments
 (0)