Skip to content

Commit

Permalink
remove double plus
Browse files Browse the repository at this point in the history
  • Loading branch information
faissaloux committed Nov 8, 2023
1 parent 3c0d780 commit 1734094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public static function exitCode(Configuration $configuration, TestResult $result
$returnCode = self::FAILURE_EXIT;
}

$warnings = $result->numberOfTestsWithTestTriggeredPhpunitWarningEvents() +
+count($result->warnings())
$warnings = $result->numberOfTestsWithTestTriggeredPhpunitWarningEvents()
+ count($result->warnings())
+ count($result->phpWarnings());

if ($configuration->failOnWarning() && $warnings > 0) {
Expand Down

0 comments on commit 1734094

Please sign in to comment.