Skip to content

Commit 5b3dedb

Browse files
committed
chore: update composer scripts
1 parent 6d15d8c commit 5b3dedb

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

composer.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,25 @@
5858
"post-update-cmd": [
5959
"bash admin/setup.sh"
6060
],
61-
"analyze": "phpstan analyze",
61+
"analyze": [
62+
"phpstan analyze",
63+
"psalm",
64+
"rector process --dry-run"
65+
],
66+
"sa": "@analyze",
6267
"ci": [
6368
"Composer\\Config::disableProcessTimeout",
69+
"@cs",
6470
"@deduplicate",
65-
"@sa",
66-
"@test",
71+
"@analyze",
6772
"@inspect",
68-
"rector process",
69-
"@style"
73+
"@test"
7074
],
71-
"deduplicate": "phpcpd app/ src/",
75+
"cs": "php-cs-fixer fix --ansi --verbose --dry-run --diff",
76+
"cs-fix": "php-cs-fixer fix --ansi --verbose --diff",
77+
"deduplicate": "phpcpd app/ src/ --exclude src/Database/Migrations/2020-12-28-223112_create_auth_tables.php",
7278
"inspect": "deptrac analyze --cache-file=build/deptrac.cache",
7379
"mutate": "infection --threads=2 --skip-initial-tests --coverage=build/phpunit",
74-
"sa": [
75-
"phpstan analyze",
76-
"psalm"
77-
],
78-
"cs-fix": "php-cs-fixer fix --ansi --verbose --diff",
7980
"style": "@cs-fix",
8081
"test": "phpunit"
8182
}

0 commit comments

Comments
 (0)