Skip to content

Commit

Permalink
Update php cs fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Dec 15, 2024
1 parent cb60017 commit 632366f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@
"squizlabs/php_codesniffer": "^3"
},
"scripts": {
"cs:check": "php-cs-fixer fix --dry-run --format=txt --verbose --config=.cs.php --ansi",
"cs:fix": "php-cs-fixer fix --config=.cs.php --ansi --verbose",
"cs:check": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix --dry-run --format=txt --verbose --config=.cs.php --ansi"
],
"cs:fix": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"php-cs-fixer fix --config=.cs.php --ansi --verbose"
],
"sniffer:check": "phpcs --standard=phpcs.xml",
"sniffer:fix": "phpcbf --standard=phpcs.xml",
"stan": "phpstan analyse -c phpstan.neon --no-progress --ansi",
Expand Down

0 comments on commit 632366f

Please sign in to comment.