Skip to content

Commit

Permalink
Disable Xdebug while running scripts from composer
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgarlag committed Nov 8, 2022
1 parent e8cf63d commit b1a42bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
}
},
"scripts": {
"lint": "@php vendor/bin/php-cs-fixer fix --dry-run --ansi -v",
"fix-cs": "@php vendor/bin/php-cs-fixer fix --ansi",
"lint": "@php -d xdebug.mode=off vendor/bin/php-cs-fixer fix --dry-run --ansi -v",
"fix-cs": "@php -d xdebug.mode=off vendor/bin/php-cs-fixer fix --ansi",
"test": [
"@php vendor/bin/phpstan analyse --ansi -l 9 src ",
"@php vendor/bin/phpspec run --ansi"
"@php -d xdebug.mode=off vendor/bin/phpstan analyse --ansi -l 9 src ",
"@php -d xdebug.mode=off vendor/bin/phpspec run --ansi"
]
},
"extra": {
Expand Down

0 comments on commit b1a42bd

Please sign in to comment.