-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscripts.json
More file actions
20 lines (20 loc) · 875 Bytes
/
scripts.json
File metadata and controls
20 lines (20 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"scripts": {
"tools:upgrade": {
"tools:upgrade:php-cs-fixer": "composer upgrade -d tools/php-cs-fixer",
"tools:upgrade:phpstan": "composer upgrade -d tools/phpstan",
"tools:upgrade:rector": "composer upgrade -d tools/rector",
"tools:upgrade:twigcs": "composer upgrade -d tools/twigcs"
},
"tools:run": [
"@tools:run:rector",
"@tools:run:php-cs-fixer",
"@tools:run:phpstan",
"@tools:run:twigcs"
],
"tools:run:rector": "tools/rector/vendor/bin/rector process --clear-cache",
"tools:run:php-cs-fixer": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix",
"tools:run:phpstan": "tools/phpstan/vendor/bin/phpstan --memory-limit=1G",
"tools:run:twigcs": "tools/twigcs/vendor/bin/twigcs --config .twigcs.dist.php"
}
}