Skip to content

Commit 083a1b6

Browse files
authored
Merge pull request #39 from kenjis/add-composer-scripts
2 parents c802432 + 730f985 commit 083a1b6

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

composer.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,20 @@
5353
"psalm",
5454
"rector process --dry-run"
5555
],
56+
"sa": "@analyze",
5657
"ci": [
5758
"Composer\\Config::disableProcessTimeout",
59+
"@cs",
60+
"@deduplicate",
61+
"@inspect",
5862
"@analyze",
59-
"@style"
63+
"@test"
6064
],
61-
"style": "php-cs-fixer fix --verbose --ansi --using-cache=no"
65+
"cs": "php-cs-fixer fix --ansi --verbose --dry-run --diff",
66+
"cs-fix": "php-cs-fixer fix --ansi --verbose --diff --using-cache=yes",
67+
"style": "@cs-fix",
68+
"deduplicate": "phpcpd app/ src/",
69+
"inspect": "deptrac analyze --cache-file=build/deptrac.cache",
70+
"mutate": "infection --threads=2 --skip-initial-tests --coverage=build/phpunit"
6271
}
6372
}

0 commit comments

Comments
 (0)