Skip to content

Commit 28601b3

Browse files
committed
add PHPCSUtils
1 parent 4e86d5f commit 28601b3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ ENV PHPCS_VERSION=3.6.2
99
# https://github.com/sirbrillig/phpcs-variable-analysis/releases
1010
# https://github.com/phpcompatibility/phpcompatibility/releases
1111
# https://github.com/phpcompatibility/phpcompatibilitywp/releases
12+
# https://github.com/PHPCSStandards/PHPCSUtils/releases
1213
ENV RULESET_WP_CODING_STANDARDS_VERSION=3.1.0 \
1314
RULESET_VIP_CODING_STANDARDS_VERSION=3.0.1 \
1415
RULESET_PHPCS_VARIABLE_ANALYSIS_VERSION=2.11.19 \
1516
RULESET_PHP_COMPATIBILITY_VERSION=9.3.5 \
16-
RULESET_PHP_COMPATIBILITY_WP_VERSION=2.1.5
17+
RULESET_PHP_COMPATIBILITY_WP_VERSION=2.1.5 \
18+
RULESET_PHPCS_UTILS_VERSION=1.0.12
1719

1820
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
1921

@@ -33,6 +35,7 @@ RUN wget -O - -q https://github.com/Automattic/VIP-Coding-Standards/archive/${RU
3335
RUN wget -O - -q https://github.com/sirbrillig/phpcs-variable-analysis/archive/v${RULESET_PHPCS_VARIABLE_ANALYSIS_VERSION}.tar.gz | tar zxv -C /tmp/rulesets --strip-components 1 --wildcards-match-slash --wildcards '*/VariableAnalysis*'
3436
RUN wget -O - -q https://github.com/PHPCompatibility/PHPCompatibility/archive/${RULESET_PHP_COMPATIBILITY_VERSION}.tar.gz | tar zxv -C /tmp/rulesets --strip-components 1 --wildcards-match-slash --wildcards '*/PHPCompatibility*'
3537
RUN wget -O - -q https://github.com/PHPCompatibility/PHPCompatibilityWP/archive/${RULESET_PHP_COMPATIBILITY_WP_VERSION}.tar.gz | tar zxv -C /tmp/rulesets --strip-components 1 --wildcards-match-slash --wildcards '*/PHPCompatibility*'
38+
RUN wget -O - -q https://github.com/PHPCSStandards/PHPCSUtils/archive/refs/tags/${RULESET_PHPCS_UTILS_VERSION}.tar.gz | tar zxv -C /tmp/rulesets --strip-components 1 --wildcards-match-slash --wildcards '*/PHPCSUtils*'
3639

3740
COPY entrypoint.sh /entrypoint.sh
3841

0 commit comments

Comments
 (0)