Skip to content

Commit a798636

Browse files
committed
Add PHP_CS_FIXER_IGNORE_ENV
1 parent 968b9dd commit a798636

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
tools: pecl, composer, php-cs-fixer
4141

4242
- name: Run PHP-CS-Fixer fix
43-
run: bin/php-cs-fixer-wrapper fix --dry-run --diff --ansi
43+
run: PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --dry-run --diff --ansi
4444

4545
phpstan:
4646
runs-on: ubuntu-latest

bin/php-cs-fixer-wrapper

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
# get parent dir, and run the php-cs-fixer
4+
PHP_CS_FIXER_IGNORE_ENV=1 "$(dirname "$0")/../vendor/bin/php-cs-fixer" "$@"

0 commit comments

Comments
 (0)