Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Commit 88b0c24

Browse files
committed
Add some codeCoverageIgnore tags
1 parent e4d1631 commit 88b0c24

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/Injector/AbstractInjector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public function to($contentToModify)
4242
{
4343
$posrFunction = 'mb_strpos';
4444
$substrFunction = 'mb_substr';
45-
}
45+
} // @codeCoverageIgnoreStart
4646
else
4747
{
4848
$posrFunction = 'strpos';
4949
$substrFunction = 'substr';
50-
}
50+
} // @codeCoverageIgnoreEnd
5151

5252
$pos = $posrFunction($contentToModify, $this->injectBefore);
5353
if (false !== $pos)

src/Test/InjectorTypeTestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
use Symfony\Component\Form\FormExtensionInterface;
99
use Symfony\Component\Form\Test\TypeTestCase;
1010

11+
/**
12+
* @codeCoverageIgnore
13+
*/
1114
class InjectorTypeTestCase extends TypeTestCase
1215
{
1316
protected $commandFactory;

0 commit comments

Comments
 (0)