Skip to content

Commit 0ded502

Browse files
committed
update PHPCS version
1 parent 69b781c commit 0ded502

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM php:7.4-alpine
22

33
# tools
4-
ENV PHPCS_VERSION=3.6.2
4+
ENV PHPCS_VERSION=3.11.1
55

66
# rulesets
77
# https://github.com/WordPress/WordPress-Coding-Standards
@@ -25,8 +25,8 @@ SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
2525
RUN apk --no-cache add git
2626

2727
# tools
28-
RUN wget -P /usr/local/bin -q https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${PHPCS_VERSION}/phpcs.phar
29-
RUN wget -P /usr/local/bin -q https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${PHPCS_VERSION}/phpcbf.phar
28+
RUN wget -P /usr/local/bin -q https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/${PHPCS_VERSION}/phpcs.phar
29+
RUN wget -P /usr/local/bin -q https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/download/${PHPCS_VERSION}/phpcbf.phar
3030
RUN chmod +x /usr/local/bin/phpcs.phar
3131
RUN chmod +x /usr/local/bin/phpcbf.phar
3232

0 commit comments

Comments
 (0)