Skip to content

Commit

Permalink
Add PHP_CS_FIXER_IGNORE_ENV=1
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Dec 8, 2024
1 parent 231c6b2 commit d446346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
if [ -n $DOCKER_METADATA_OUTPUT_VERSION ]; then
echo "TAG=${DOCKER_METADATA_OUTPUT_VERSION}" >> $GITHUB_ENV
else
echo "TAG=8.3-apache-${BASE_REF}" >> $GITHUB_ENV
echo "TAG=8.4-apache-${BASE_REF}" >> $GITHUB_ENV
fi
else
echo "TAG=8.3-apache-${REF_NAME}" >> $GITHUB_ENV
echo "TAG=8.4-apache-${REF_NAME}" >> $GITHUB_ENV
fi
- run: |
docker compose up -d --wait
docker compose exec -T ec-cube composer install
- run: docker compose exec -T ec-cube php data/vendor/bin/php-cs-fixer fix --diff --dry-run --allow-risky=yes
- run: docker compose exec -T -e PHP_CS_FIXER_IGNORE_ENV=1 ec-cube php data/vendor/bin/php-cs-fixer fix --diff --dry-run --allow-risky=yes

0 comments on commit d446346

Please sign in to comment.