Skip to content

Commit 20fb027

Browse files
committed
phpcs uses default ignores defined by Gitlab CI
1 parent c00f193 commit 20fb027

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commands/web/phpcs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ if ! command -v phpcs >/dev/null; then
1212
echo "phpcs is not available. You may need to 'ddev composer install'"
1313
exit 1
1414
fi
15+
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/phpcs.xml.dist
1516
phpcs -s --report-full --report-summary --report-source web/modules/custom "$@"

0 commit comments

Comments
 (0)