Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed May 28, 2020
1 parent df87cc4 commit 09474f7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,9 @@ public function run(TestSuite $suite, array $arguments = [], array $warnings = [
$arguments['strictCoverage']
);

if (isset($arguments['forceCoversAnnotation'])) {
$codeCoverage->setForceCoversAnnotation(
$arguments['forceCoversAnnotation']
);
}
$codeCoverage->setForceCoversAnnotation(
$arguments['forceCoversAnnotation']
);

if (isset($arguments['ignoreDeprecatedCodeUnitsFromCodeCoverage'])) {
$codeCoverage->setIgnoreDeprecatedCode(
Expand Down

0 comments on commit 09474f7

Please sign in to comment.