Skip to content

Commit

Permalink
Bump Coder to 8.3.16.
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeabody committed Apr 14, 2023
1 parent bd43bb7 commit c600057
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ 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`

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
Expand All @@ -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 |

0 comments on commit c600057

Please sign in to comment.