mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-11 02:49:42 +01:00
Create clean_levels.sh
This commit is contained in:
parent
3bf09cc19f
commit
ad03ea6a57
3
bin/clean_levels.sh
Executable file
3
bin/clean_levels.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
# trailing whitespaces
|
||||
sed -i -E 's/\s+$//g' src/config/level/*/*.yml
|
@ -57,9 +57,16 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"complete-check": ["@check-cs", "phpunit", "@phpstan"],
|
||||
"complete-check": [
|
||||
"@check-cs",
|
||||
"phpunit",
|
||||
"@phpstan"
|
||||
],
|
||||
"check-cs": "vendor/bin/ecs check bin packages src tests",
|
||||
"fix-cs": "vendor/bin/ecs check bin packages src tests --fix",
|
||||
"fix-cs": [
|
||||
"vendor/bin/ecs check bin packages src tests --fix",
|
||||
"bin/clean_levels.sh"
|
||||
],
|
||||
"phpstan": "vendor/bin/phpstan.phar analyse packages src tests --level max --configuration phpstan.neon"
|
||||
},
|
||||
"bin": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user