From 17340947b38ac31b425abd200be15e3fe987d4e9 Mon Sep 17 00:00:00 2001 From: faissaloux Date: Wed, 8 Nov 2023 10:52:33 +0100 Subject: [PATCH] remove double plus --- src/Result.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Result.php b/src/Result.php index d9f1f0e3..9b3a83e5 100644 --- a/src/Result.php +++ b/src/Result.php @@ -54,8 +54,8 @@ final class 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) {