From 25d924341f2afdeb273c54caac222148e6bc5850 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sat, 15 Jun 2024 11:09:44 +0200 Subject: [PATCH] Fix CS/WS issues --- src/Runner/ErrorHandler.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/Runner/ErrorHandler.php b/src/Runner/ErrorHandler.php index 5a893d48c9b..b30c00ff208 100644 --- a/src/Runner/ErrorHandler.php +++ b/src/Runner/ErrorHandler.php @@ -256,17 +256,15 @@ private function trigger(TestMethod $test, bool $filterTrigger): IssueTrigger $triggeredInFirstPartyCode = false; $triggerCalledFromFirstPartyCode = false; - if (isset($trace[0]['file']) && ( - $trace[0]['file'] === $test->file() || - $this->sourceFilter->includes($this->source, $trace[0]['file']) - )) { + if (isset($trace[0]['file']) && + ($trace[0]['file'] === $test->file() || + $this->sourceFilter->includes($this->source, $trace[0]['file']))) { $triggeredInFirstPartyCode = true; } - if (isset($trace[1]['file']) && ( - $trace[1]['file'] === $test->file() || - $this->sourceFilter->includes($this->source, $trace[1]['file']) - )) { + if (isset($trace[1]['file']) && + ($trace[1]['file'] === $test->file() || + $this->sourceFilter->includes($this->source, $trace[1]['file']))) { $triggerCalledFromFirstPartyCode = true; }