@@ -9,11 +9,13 @@ ENV PHPCS_VERSION=3.6.2
9
9
# https://github.com/sirbrillig/phpcs-variable-analysis/releases
10
10
# https://github.com/phpcompatibility/phpcompatibility/releases
11
11
# https://github.com/phpcompatibility/phpcompatibilitywp/releases
12
+ # https://github.com/PHPCSStandards/PHPCSUtils/releases
12
13
ENV RULESET_WP_CODING_STANDARDS_VERSION=3.1.0 \
13
14
RULESET_VIP_CODING_STANDARDS_VERSION=3.0.1 \
14
15
RULESET_PHPCS_VARIABLE_ANALYSIS_VERSION=2.11.19 \
15
16
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
17
19
18
20
SHELL ["/bin/ash" , "-eo" , "pipefail" , "-c" ]
19
21
@@ -33,6 +35,7 @@ RUN wget -O - -q https://github.com/Automattic/VIP-Coding-Standards/archive/${RU
33
35
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*'
34
36
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*'
35
37
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*'
36
39
37
40
COPY entrypoint.sh /entrypoint.sh
38
41
0 commit comments