mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 20:53:31 +00: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": {
|
"scripts": {
|
||||||
"complete-check": ["@check-cs", "phpunit", "@phpstan"],
|
"complete-check": [
|
||||||
|
"@check-cs",
|
||||||
|
"phpunit",
|
||||||
|
"@phpstan"
|
||||||
|
],
|
||||||
"check-cs": "vendor/bin/ecs check bin packages src tests",
|
"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"
|
"phpstan": "vendor/bin/phpstan.phar analyse packages src tests --level max --configuration phpstan.neon"
|
||||||
},
|
},
|
||||||
"bin": [
|
"bin": [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user