Skip to content

Commit

Permalink
Fix CS/WS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jun 15, 2024
1 parent 55b5b35 commit 25d9243
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/Runner/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 25d9243

Please sign in to comment.