diff --git a/Dockerfile b/Dockerfile index b8d8aeb..74e7e80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM composer:2 ENV PATH="$COMPOSER_HOME/vendor/bin:${PATH}" -ARG CODER_VERSION=8.3.15 +ARG CODER_VERSION=8.3.16 # Add dependencies. RUN composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true && composer global require drupal/coder:${CODER_VERSION} diff --git a/README.md b/README.md index 1d0a2c0..1bfda7e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This image can be used to run Drupal coding standards sniffs against a codebase. Assuming you have a `phpcs.xml.dist` or `phpcs.xml` file in your project root, you can run the following from your project root to execute a scan: ``` -docker run --rm -v $PWD:/app ghcr.io/lpeabody/phpcs-drupal:8.3.15 +docker run --rm -v $PWD:/app ghcr.io/lpeabody/phpcs-drupal:8.3.16 ``` ## Using `phpcs` @@ -15,7 +15,7 @@ docker run --rm -v $PWD:/app ghcr.io/lpeabody/phpcs-drupal:8.3.15 By default, when running the image it will just execute `phpcs`. You can optionally override this by passing your own `phpcs` command with additional arguments if needed: ``` -docker run --rm -v $PWD:/app ghcr.io/lpeabody/phpcs-drupal:8.3.15 \ +docker run --rm -v $PWD:/app ghcr.io/lpeabody/phpcs-drupal:8.3.16 \ phpcs \ web/modules/custom \ web/themes/custom @@ -27,5 +27,5 @@ This image's tags are tightly coupled with the version of drupal/coder included | Image Version | Coder Version | |----------|-------| -| ghcr.io/lpeabody/phpcs-drupal:main | 8.3.15 | -| ghcr.io/lpeabody/phpcs-drupal:8.3.15 | 8.3.15 | +| ghcr.io/lpeabody/phpcs-drupal:main | 8.3.16 | +| ghcr.io/lpeabody/phpcs-drupal:8.3.16 | 8.3.16 |