Skip to content

Commit 8e1ac63

Browse files
fixed PHP_CS_FIXER_IGNORE_ENV deprecation
1 parent 6e46fbc commit 8e1ac63

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

composer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@
3737
},
3838
"scripts": {
3939
"cs:check": [
40-
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
41-
"php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php --ansi"
40+
"php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php --ansi --allow-unsupported-php-version=yes"
4241
],
4342
"cs:fix": [
44-
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
45-
"php-cs-fixer fix --config=.cs.php --ansi --verbose"
43+
"php-cs-fixer fix --config=.cs.php --ansi --verbose --allow-unsupported-php-version=yes"
4644
],
4745
"sniffer:check": "phpcs --standard=phpcs.xml",
4846
"sniffer:fix": "phpcbf --standard=phpcs.xml",

0 commit comments

Comments
 (0)