From cca8ade8fa7c6b89c72eb10d5a327f6b3da912f8 Mon Sep 17 00:00:00 2001 From: Rebecca Hum Date: Tue, 14 May 2024 09:21:04 -0600 Subject: [PATCH 1/3] Update VIPCS + dependencies --- tools-init.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tools-init.sh b/tools-init.sh index 49942490..3bdf4f35 100755 --- a/tools-init.sh +++ b/tools-init.sh @@ -8,29 +8,29 @@ set -e # https://github.com/Automattic/vip-go-ci/#updating-tools-initsh-with-new-versions # -# https://github.com/squizlabs/PHP_CodeSniffer -export PHP_CODESNIFFER_REPO="squizlabs/PHP_CodeSniffer" -export PHP_CODESNIFFER_VER="3.7.2" +# https://github.com/PHPCSStandards/PHP_CodeSniffer +export PHP_CODESNIFFER_REPO="PHPCSStandards/PHP_CodeSniffer" +export PHP_CODESNIFFER_VER="3.9.2" export PHP_CODESNIFFER_VER_FILE="php-codesniffer-$PHP_CODESNIFFER_VER.txt" -export PHP_CODESNIFFER_SHA1SUM="f20912a426eff7a7547947f00f1ea0db097a7ffb" +export PHP_CODESNIFFER_SHA1SUM="aac1f6f347a5c5ac6bc98ad395007df00990f480" # https://github.com/WordPress/WordPress-Coding-Standards export WP_CODING_STANDARDS_REPO="WordPress/WordPress-Coding-Standards" -export WP_CODING_STANDARDS_VER="3.0.1" +export WP_CODING_STANDARDS_VER="3.1.0" export WP_CODING_STANDARDS_VER_FILE="wp-coding-standards-$WP_CODING_STANDARDS_VER.txt" -export WP_CODING_STANDARDS_SHA1SUM="25f3cc04c7484cc50104a6ca2bf5fcadd447d9d0" +export WP_CODING_STANDARDS_SHA1SUM="9333efcbff231f10dfd9c56bb7b65818b4733ca7" # https://github.com/automattic/vip-coding-standards export VIP_CODING_STANDARDS_REPO="automattic/vip-coding-standards" -export VIP_CODING_STANDARDS_VER="3.0.0" +export VIP_CODING_STANDARDS_VER="3.0.1" export VIP_CODING_STANDARDS_VER_FILE="vip-coding-standards-$VIP_CODING_STANDARDS_VER.txt" -export VIP_CODING_STANDARDS_SHA1SUM="c38362e2463f2cfc2c9cabe48011f921843f3bf4" +export VIP_CODING_STANDARDS_SHA1SUM="2b1d206d81b74ed999023cffd924f862ff2753c8" # https://github.com/sirbrillig/phpcs-variable-analysis export PHPCS_VARIABLE_ANALYSIS_REPO="sirbrillig/phpcs-variable-analysis" -export PHPCS_VARIABLE_ANALYSIS_VER="v2.11.17" +export PHPCS_VARIABLE_ANALYSIS_VER="v2.11.18" export PHPCS_VARIABLE_ANALYSIS_VER_FILE="phpcs-variable-analysis-$PHPCS_VARIABLE_ANALYSIS_VER.txt" -export PHPCS_VARIABLE_ANALYSIS_SHA1SUM="8effbc612733ec3fc0d7e623b5b3af912d5febb8" +export PHPCS_VARIABLE_ANALYSIS_SHA1SUM="ca242a0b7309e0f9d1f73b236e04ecf4ca3248d0" # https://github.com/phpcompatibility/phpcompatibility export PHP_COMPATIBILITY_REPO="phpcompatibility/phpcompatibility" @@ -52,15 +52,15 @@ export PHP_COMPATIBILITY_PARAGONIE_SHA1SUM="7aa800cf9b2737ad64082cb70b4b4113d8c1 # https://github.com/PHPCSStandards/PHPCSUtils export PHPCS_UTILS_REPO="PHPCSStandards/PHPCSUtils" -export PHPCS_UTILS_VER="1.0.8" +export PHPCS_UTILS_VER="1.0.11" export PHPCS_UTILS_VER_FILE="phpcs-utils-$PHPCS_UTILS_VER.txt" -export PHPCS_UTILS_SHA1SUM="50dc4e4a5138179e0ef481b1af5aa7dc51817dfc" +export PHPCS_UTILS_SHA1SUM="c457da9dabb60eb7106dd5e3c05132b1a6539c6a" # https://github.com/PHPCSStandards/PHPCSExtra export PHPCS_EXTRA_REPO="PHPCSStandards/PHPCSExtra" -export PHPCS_EXTRA_VER="1.1.2" +export PHPCS_EXTRA_VER="1.2.1" export PHPCS_EXTRA_VER_FILE="phpcs-extra-$PHPCS_EXTRA_VER.txt" -export PHPCS_EXTRA_SHA1SUM="7c1d6d6d454106d46446f43324b4297b7caa8fbe" +export PHPCS_EXTRA_SHA1SUM="11d387c6642b6e4acaf0bd9bf5203b8cca1ec489" # https://github.com/Automattic/vip-go-svg-sanitizer export VIP_GO_SVG_SANITIZER_REPO="Automattic/vip-go-svg-sanitizer" From d1fbcd5513895289bf2e45043fec68798a4ba84a Mon Sep 17 00:00:00 2001 From: Rebecca Hum Date: Tue, 14 May 2024 09:29:36 -0600 Subject: [PATCH 2/3] Use proper sha from tar --- tools-init.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools-init.sh b/tools-init.sh index 3bdf4f35..91d1d8c5 100755 --- a/tools-init.sh +++ b/tools-init.sh @@ -12,7 +12,7 @@ set -e export PHP_CODESNIFFER_REPO="PHPCSStandards/PHP_CodeSniffer" export PHP_CODESNIFFER_VER="3.9.2" export PHP_CODESNIFFER_VER_FILE="php-codesniffer-$PHP_CODESNIFFER_VER.txt" -export PHP_CODESNIFFER_SHA1SUM="aac1f6f347a5c5ac6bc98ad395007df00990f480" +export PHP_CODESNIFFER_SHA1SUM="5b4b2063c6b4917fd196447a647e5b56a7023a6a" # https://github.com/WordPress/WordPress-Coding-Standards export WP_CODING_STANDARDS_REPO="WordPress/WordPress-Coding-Standards" @@ -24,13 +24,13 @@ export WP_CODING_STANDARDS_SHA1SUM="9333efcbff231f10dfd9c56bb7b65818b4733ca7" export VIP_CODING_STANDARDS_REPO="automattic/vip-coding-standards" export VIP_CODING_STANDARDS_VER="3.0.1" export VIP_CODING_STANDARDS_VER_FILE="vip-coding-standards-$VIP_CODING_STANDARDS_VER.txt" -export VIP_CODING_STANDARDS_SHA1SUM="2b1d206d81b74ed999023cffd924f862ff2753c8" +export VIP_CODING_STANDARDS_SHA1SUM="73f113f13b8747aeed8f93a827e34fd4125c3b81" # https://github.com/sirbrillig/phpcs-variable-analysis export PHPCS_VARIABLE_ANALYSIS_REPO="sirbrillig/phpcs-variable-analysis" export PHPCS_VARIABLE_ANALYSIS_VER="v2.11.18" export PHPCS_VARIABLE_ANALYSIS_VER_FILE="phpcs-variable-analysis-$PHPCS_VARIABLE_ANALYSIS_VER.txt" -export PHPCS_VARIABLE_ANALYSIS_SHA1SUM="ca242a0b7309e0f9d1f73b236e04ecf4ca3248d0" +export PHPCS_VARIABLE_ANALYSIS_SHA1SUM="f54bd764751ceabc89b377730638ffd871f74f1a" # https://github.com/phpcompatibility/phpcompatibility export PHP_COMPATIBILITY_REPO="phpcompatibility/phpcompatibility" @@ -54,13 +54,13 @@ export PHP_COMPATIBILITY_PARAGONIE_SHA1SUM="7aa800cf9b2737ad64082cb70b4b4113d8c1 export PHPCS_UTILS_REPO="PHPCSStandards/PHPCSUtils" export PHPCS_UTILS_VER="1.0.11" export PHPCS_UTILS_VER_FILE="phpcs-utils-$PHPCS_UTILS_VER.txt" -export PHPCS_UTILS_SHA1SUM="c457da9dabb60eb7106dd5e3c05132b1a6539c6a" +export PHPCS_UTILS_SHA1SUM="5c2ef745d960b4a865f0a17a97b9f2d69e12eecd" # https://github.com/PHPCSStandards/PHPCSExtra export PHPCS_EXTRA_REPO="PHPCSStandards/PHPCSExtra" export PHPCS_EXTRA_VER="1.2.1" export PHPCS_EXTRA_VER_FILE="phpcs-extra-$PHPCS_EXTRA_VER.txt" -export PHPCS_EXTRA_SHA1SUM="11d387c6642b6e4acaf0bd9bf5203b8cca1ec489" +export PHPCS_EXTRA_SHA1SUM="76cda4f26f099e588ba531bf41ac173b7ad02e17" # https://github.com/Automattic/vip-go-svg-sanitizer export VIP_GO_SVG_SANITIZER_REPO="Automattic/vip-go-svg-sanitizer" From 2e85d4c016858d0adfb76f7ab384cee6ec6b87b4 Mon Sep 17 00:00:00 2001 From: Rebecca Hum Date: Tue, 14 May 2024 09:33:36 -0600 Subject: [PATCH 3/3] Use proper sha from tar --- tools-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools-init.sh b/tools-init.sh index 91d1d8c5..82f87d56 100755 --- a/tools-init.sh +++ b/tools-init.sh @@ -18,7 +18,7 @@ export PHP_CODESNIFFER_SHA1SUM="5b4b2063c6b4917fd196447a647e5b56a7023a6a" export WP_CODING_STANDARDS_REPO="WordPress/WordPress-Coding-Standards" export WP_CODING_STANDARDS_VER="3.1.0" export WP_CODING_STANDARDS_VER_FILE="wp-coding-standards-$WP_CODING_STANDARDS_VER.txt" -export WP_CODING_STANDARDS_SHA1SUM="9333efcbff231f10dfd9c56bb7b65818b4733ca7" +export WP_CODING_STANDARDS_SHA1SUM="e499d90ab2ca6d60b119049b9410c351780d2ebd" # https://github.com/automattic/vip-coding-standards export VIP_CODING_STANDARDS_REPO="automattic/vip-coding-standards"