Skip to content

Commit 46f96eb

Browse files
committed
QA shizzle copy pasta
1 parent 75e2525 commit 46f96eb

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

Makefile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,24 @@ cs:
2222
cs-fix:
2323
composer cs-fix
2424

25-
infection:
26-
composer infection
27-
2825
unit:
2926
composer run-script unit --timeout=0
3027

28+
lint:
29+
composer run-script lint --timeout=0
30+
3131
stan:
3232
composer run-script stan --timeout=0
3333

34+
psalm:
35+
composer run-script psalm --timeout=0
36+
37+
composer-require-checker:
38+
composer run-script composer-require-checker --timeout=0
39+
40+
composer-unused:
41+
composer unused
42+
3443
unit-coverage:
3544
composer run-script unit-coverage --timeout=0
3645

composer.json

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@
6464
"php-cs-fixer fix --config=.php_cs --ansi --verbose --allow-risky=yes --show-progress=estimating"
6565
],
6666
"ensure-installed": "composer install --ansi -n -q",
67-
"infection": [
68-
"infection --ansi --min-msi=100 --min-covered-msi=100 --threads=$(nproc)"
69-
],
70-
"lint-php": [
67+
"lint": [
7168
"parallel-lint --exclude vendor ."
7269
],
7370
"psalm": [
@@ -77,24 +74,20 @@
7774
"composer validate --ansi",
7875
"composer normalize --ansi",
7976
"composer unused --ansi",
80-
"@lint-php",
77+
"@lint",
8178
"@cs",
8279
"@stan",
8380
"@psalm",
84-
"@unit",
85-
"@infection",
8681
"@composer-require-checker"
8782
],
8883
"qa-all-extended": [
8984
"composer validate --ansi",
9085
"composer normalize --ansi",
9186
"composer unused --ansi",
92-
"@lint-php",
87+
"@lint",
9388
"@cs",
9489
"@stan",
9590
"@psalm",
96-
"@unit-coverage",
97-
"@infection",
9891
"@composer-require-checker"
9992
],
10093
"qa-ci": [
@@ -110,13 +103,7 @@
110103
"@qa-all"
111104
],
112105
"stan": [
113-
"phpstan analyse src tests --level max --ansi -c phpstan.neon"
114-
],
115-
"unit": [
116-
"phpunit --colors=always -c phpunit.xml.dist"
117-
],
118-
"unit-coverage": [
119-
"phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
106+
"phpstan analyse src --level max --ansi -c phpstan.neon"
120107
]
121108
}
122109
}

0 commit comments

Comments
 (0)