Skip to content

Commit 5493d1c

Browse files
committed
set php cs fixer ignore env for php version > 8.3
1 parent 62cc027 commit 5493d1c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/build.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
context: .
6262
file: ./Dockerfile
6363
build-args: |
64+
PHP_CS_FIXER_IGNORE_ENV=${{ matrix.php > 8.3 }}
6465
VCS_REF=${{ github.sha }}
6566
BUILD_DATE=${{ env.build_date }}
6667
BUILD_VERSION=v${{ matrix.composer }}-php${{ matrix.php }}-alpine

Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ FROM php:${PHP_VERSION}-fpm-alpine
77

88
ARG PHP_VERSION
99
ARG COMPOSER_VERSION
10+
ARG PHP_CS_FIXER_IGNORE_ENV
1011

1112
ENV PHP_VERSION=$PHP_VERSION
1213
ENV COMPOSER_VERSION=$COMPOSER_VERSION
14+
ENV PHP_CS_FIXER_IGNORE_ENV=$PHP_CS_FIXER_IGNORE_ENV
1315

1416
## XDEBUG
1517
RUN curl -sSLf \

0 commit comments

Comments
 (0)