Skip to content

Commit 296e722

Browse files
committed
Remove non-standard Composer commands
I'm reducing the confusing number of Composer commands to "cs", "test", and "ci". Usually, PHPCS is executed before PHPUnit. This patch also makes sure this order is consistent.
1 parent 3b67125 commit 296e722

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

composer.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,15 @@
5959
},
6060
"scripts": {
6161
"test": [
62-
"composer validate --no-interaction",
63-
"vendor/bin/phpunit"
62+
"@validate --no-interaction",
63+
"phpunit"
6464
],
6565
"ci": [
66-
"@test",
67-
"@cs"
66+
"@cs",
67+
"@test"
6868
],
6969
"cs": [
70-
"@phpcs"
71-
],
72-
"phpcs": [
73-
"phpcs -ps"
70+
"phpcs -p -s"
7471
]
75-
7672
}
7773
}

0 commit comments

Comments
 (0)