diff --git a/1/Dockerfile b/1/Dockerfile index 4074cd9..54cd74d 100644 --- a/1/Dockerfile +++ b/1/Dockerfile @@ -1,8 +1,8 @@ FROM php:7.1-alpine -ENV PHP_CS_FIXER_VERISON 1.13.3 +ENV PHP_CS_FIXER_VERSION 1.13.3 # hadolint ignore=DL3018 -RUN curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERISON/php-cs-fixer.phar -o php-cs-fixer \ +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 diff --git a/2.19/Dockerfile b/2.19/Dockerfile index fd90f98..1f40193 100644 --- a/2.19/Dockerfile +++ b/2.19/Dockerfile @@ -1,8 +1,8 @@ FROM php:8.0-alpine -ENV PHP_CS_FIXER_VERISON 2.19.3 +ENV PHP_CS_FIXER_VERSION 2.19.3 # hadolint ignore=DL3018 -RUN curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERISON/php-cs-fixer.phar -o php-cs-fixer \ +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 diff --git a/2/Dockerfile b/2/Dockerfile index fd90f98..1f40193 100644 --- a/2/Dockerfile +++ b/2/Dockerfile @@ -1,8 +1,8 @@ FROM php:8.0-alpine -ENV PHP_CS_FIXER_VERISON 2.19.3 +ENV PHP_CS_FIXER_VERSION 2.19.3 # hadolint ignore=DL3018 -RUN curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERISON/php-cs-fixer.phar -o php-cs-fixer \ +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 diff --git a/3.12/Dockerfile b/3.12/Dockerfile index 6888789..744dedb 100644 --- a/3.12/Dockerfile +++ b/3.12/Dockerfile @@ -1,8 +1,8 @@ FROM php:8.2-alpine -ENV PHP_CS_FIXER_VERISON 3.12.0 +ENV PHP_CS_FIXER_VERSION 3.12.0 # hadolint ignore=DL3018 -RUN curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERISON/php-cs-fixer.phar -o php-cs-fixer \ +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 diff --git a/3.13/Dockerfile b/3.13/Dockerfile index 4aa94f8..5dbea01 100644 --- a/3.13/Dockerfile +++ b/3.13/Dockerfile @@ -1,8 +1,8 @@ FROM php:8.2-alpine -ENV PHP_CS_FIXER_VERISON 3.13.2 +ENV PHP_CS_FIXER_VERSION 3.13.2 # hadolint ignore=DL3018 -RUN curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERISON/php-cs-fixer.phar -o php-cs-fixer \ +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 diff --git a/3/Dockerfile b/3/Dockerfile index 2a6fb1d..d5e1025 100644 --- a/3/Dockerfile +++ b/3/Dockerfile @@ -1,8 +1,8 @@ FROM php:8-alpine -ENV PHP_CS_FIXER_VERISON 3.13.2 +ENV PHP_CS_FIXER_VERSION 3.13.2 # hadolint ignore=DL3018 -RUN curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERISON/php-cs-fixer.phar -o php-cs-fixer \ +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 diff --git a/Dockerfile.template b/Dockerfile.template index 50fa2b8..1e503c0 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,10 +1,10 @@ FROM php:%%PHP_VERSION%%-alpine -ENV PHP_CS_FIXER_VERISON %%VARIANT%% +ENV PHP_CS_FIXER_VERSION %%VARIANT%% # hadolint ignore=DL3018 -RUN curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERISON/php-cs-fixer.phar -o php-cs-fixer \ +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 \ #### - && curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERISON/php-cs-fixer.phar.asc -o php-cs-fixer.phar.asc \ + && curl -L https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v$PHP_CS_FIXER_VERSION/php-cs-fixer.phar.asc -o php-cs-fixer.phar.asc \ && apk add --no-cache --virtual .build-deps gnupg \ && gpg --keyserver ha.pool.sks-keyservers.net --recv-key BBAB5DF0A0D6672989CF1869E82B2FB314E9906E \ && gpg --verify php-cs-fixer.phar.asc php-cs-fixer \