Print diff in cs:check command

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2020-04-15 14:36:14 +02:00
parent c914ae4c8d
commit 0b652d543b
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
}, },
"scripts": { "scripts": {
"cs:fix": "php-cs-fixer fix", "cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run", "cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -exec php -l \"{}\" \\;" "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -exec php -l \"{}\" \\;"
} }
} }