Skip to content

Commit 376a6db

Browse files
committed
Ignore instanceof expected mutation fails and harden tests to disallow mutants
1 parent c74ea26 commit 376a6db

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/commit.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ jobs:
7979
strategy:
8080
matrix:
8181
php: [ 7.4, 8.0, 8.1 ]
82-
continue-on-error: true
8382
steps:
8483
- name: Setup PHP
8584
uses: shivammathur/setup-php@v2

infection.json.dist

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
"configDir": "."
99
},
1010
"mutators": {
11-
"@default": true
11+
"@default": true,
12+
"InstanceOf_": {
13+
"ignore": [
14+
"Navarr\\Utils\\IterableToArray::convert"
15+
]
16+
}
1217
}
1318
}

0 commit comments

Comments
 (0)