Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.1.34-alpine
FROM php:8.2.35-alpine

ARG PHP_CS_FIXER_VERSION=3.13.0
ARG PHP_CS_FIXER_SHA256=ac2e57e32cdae67f21baa88f78405f93d4d6e928f41ba62dc91505565c785a44
ARG PHP_CS_FIXER_VERSION=3.95.27
ARG PHP_CS_FIXER_SHA256=47231757eefdd08778e2bd047d98a63dfaad881006c8c1d1bc870d63be7f6a9b

ADD --checksum=sha256:${PHP_CS_FIXER_SHA256} --chmod=755 \
https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases/download/v${PHP_CS_FIXER_VERSION}/php-cs-fixer.phar \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: PHP-CS-Fixer
uses: docker://ghcr.io/mobsuccess-devops/github-actions-php-cs-fixer:v3.13.0
uses: docker://ghcr.io/mobsuccess-devops/github-actions-php-cs-fixer:v3.95.27
with:
args: --config=.php-cs-fixer.dist.php --diff --dry-run .
```
Expand All @@ -24,7 +24,7 @@ has other rules, and would reformat the code it checks.
Locally, from the repository to check:

```bash
docker run --rm -v "$PWD:/app" -w /app ghcr.io/mobsuccess-devops/github-actions-php-cs-fixer:v3.13.0 --diff --dry-run .
docker run --rm -v "$PWD:/app" -w /app ghcr.io/mobsuccess-devops/github-actions-php-cs-fixer:v3.95.27 --diff --dry-run .
```

## Image
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
services:
php-cs-fixer:
build: .
image: ghcr.io/mobsuccess-devops/github-actions-php-cs-fixer:v3.13.0
image: ghcr.io/mobsuccess-devops/github-actions-php-cs-fixer:v3.95.27
Loading