Skip to content

Commit 85f50db

Browse files
committed
Added infection/infection
1 parent bf38153 commit 85f50db

File tree

4 files changed

+400
-6
lines changed

4 files changed

+400
-6
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
all:
22
composer run-script qa-all --timeout=0
33

4-
all-coverage:
5-
composer run-script qa-all-coverage --timeout=0
4+
all-extended:
5+
composer run-script qa-all-extended --timeout=0
66

77
ci:
88
composer run-script qa-ci --timeout=0
@@ -22,6 +22,9 @@ cs:
2222
cs-fix:
2323
composer cs-fix
2424

25+
infection:
26+
composer infection
27+
2528
unit:
2629
composer run-script unit --timeout=0
2730

composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"php": "^7.0",
1313
"clue/block-react": "^1.1",
1414
"friendsofphp/php-cs-fixer": "^2.5",
15+
"infection/infection": "^0.6.2",
1516
"jakub-onderka/php-console-highlighter": "^0.3.2",
1617
"jakub-onderka/php-parallel-lint": "^0.9.2",
1718
"phake/phake": "^3.0.1",
@@ -57,15 +58,20 @@
5758
"@ensure-installed",
5859
"parallel-lint --exclude vendor ."
5960
],
61+
"infection": [
62+
"@ensure-installed",
63+
"infection --ansi"
64+
],
6065
"qa-all": [
6166
"@lint-php",
6267
"@cs",
6368
"@unit"
6469
],
65-
"qa-all-coverage": [
70+
"qa-all-extended": [
6671
"@lint-php",
6772
"@cs",
68-
"@unit-coverage"
73+
"@unit-coverage",
74+
"@infection"
6975
],
7076
"qa-windows": [
7177
"@lint-php",
@@ -76,7 +82,7 @@
7682
"@unit"
7783
],
7884
"qa-ci-extended": [
79-
"@qa-all-coverage"
85+
"@qa-all-extended"
8086
],
8187
"qa-ci-windows": [
8288
"@qa-windows"

0 commit comments

Comments
 (0)