Skip to content

Commit

Permalink
php 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nonanerz committed Dec 6, 2023
1 parent fc935d3 commit 390c73f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 3.17/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM php:8.2-alpine

ENV PHP_CS_FIXER_VERSION 3.17.0
# hadolint ignore=DL3018
RUN curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERSION/php-cs-fixer.phar -o php-cs-fixer \
&& chmod +x php-cs-fixer \
&& mv php-cs-fixer /usr/local/bin/php-cs-fixer

CMD ["/usr/local/bin/php-cs-fixer", "fix"]
2 changes: 2 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set -e

# https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases
declare -A variants=(
['3.17']='3.17.0'
['3']='3.13.2'
['3.13']='3.13.2'
['3.12']='3.12.0'
Expand All @@ -12,6 +13,7 @@ declare -A variants=(
)

declare -A php_version=(
['3.17']='8.2'
['3']='8.0'
['3.13']='8.1'
['3.12']='8.1'
Expand Down

0 comments on commit 390c73f

Please sign in to comment.