Skip to content

Commit 8900a51

Browse files
committed
Ignore a case of OneZeroInteger that is not feasable to cover with tests
1 parent 8e235f8 commit 8900a51

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ deptrac: tools/deptrac
4242
.PHONY: deptrac
4343

4444
infection: tools/infection tools/infection.pubkey
45-
phpdbg -qrr ./tools/infection --no-interaction --formatter=progress --min-msi=96 --min-covered-msi=96 --only-covered --ansi
45+
phpdbg -qrr ./tools/infection --no-interaction --formatter=progress --min-msi=100 --min-covered-msi=100 --only-covered --ansi
4646
.PHONY: infection
4747

4848
phpunit: tools/phpunit

infection.json.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
"@default": true,
1313
"IdenticalEqual": false,
1414
"NotIdenticalNotEqual": false,
15+
"OneZeroInteger": {
16+
"ignore": [
17+
"Zalas\\Injector\\PHPUnit\\Symfony\\Compiler\\Discovery\\ClassFinder::findClassInFile"
18+
]
19+
},
1520
"ProtectedVisibility": {
1621
"ignore": [
1722
"Zalas\\Injector\\PHPUnit\\Symfony\\TestCase\\SymfonyKernel::bootKernel",

0 commit comments

Comments
 (0)