From bb0fa10798b6a0e33bdef748bccb9fbb0ce52f44 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Thu, 19 May 2022 10:02:00 +0100 Subject: Issue #3262874 by Spokje, longwave, ankithashetty, catch, andypost: Update Coder to 8.3.15 --- core/scripts/dev/commit-code-check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/scripts/dev/commit-code-check.sh') diff --git a/core/scripts/dev/commit-code-check.sh b/core/scripts/dev/commit-code-check.sh index 3563ed7c59fc..5b44e04d53c8 100755 --- a/core/scripts/dev/commit-code-check.sh +++ b/core/scripts/dev/commit-code-check.sh @@ -243,7 +243,7 @@ printf "\n" # When the file core/phpcs.xml.dist has been changed, then PHPCS must check all files. if [[ $PHPCS_XML_DIST_FILE_CHANGED == "1" ]]; then # Test all files with phpcs rules. - vendor/bin/phpcs -ps --runtime-set installed_paths "$TOP_LEVEL/vendor/drupal/coder/coder_sniffer" --standard="$TOP_LEVEL/core/phpcs.xml.dist" + vendor/bin/phpcs -ps --standard="$TOP_LEVEL/core/phpcs.xml.dist" PHPCS=$? if [ "$PHPCS" -ne "0" ]; then # If there are failures set the status to a number other than 0. @@ -354,7 +354,7 @@ for FILE in $FILES; do ############################################################################ if [[ -f "$TOP_LEVEL/$FILE" ]] && [[ $FILE =~ \.(inc|install|module|php|profile|test|theme|yml)$ ]] && [[ $PHPCS_XML_DIST_FILE_CHANGED == "0" ]]; then # Test files with phpcs rules. - vendor/bin/phpcs "$TOP_LEVEL/$FILE" --runtime-set installed_paths "$TOP_LEVEL/vendor/drupal/coder/coder_sniffer" --standard="$TOP_LEVEL/core/phpcs.xml.dist" + vendor/bin/phpcs "$TOP_LEVEL/$FILE" --standard="$TOP_LEVEL/core/phpcs.xml.dist" PHPCS=$? if [ "$PHPCS" -ne "0" ]; then # If there are failures set the status to a number other than 0. -- cgit v1.2.3