Skip to content

Commit

Permalink
[PhpUnitBridge] Remove useless is/else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
l-vo committed Jun 2, 2019
1 parent e827025 commit d79dbec
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,7 @@ public function endTest($test, $time)
'triggering_file' => isset($deprecation[2]) ? $deprecation[2] : null,
'files_stack' => $deprecation[3],
]);
if ($deprecation[0]) {
@trigger_error($error, E_USER_DEPRECATED);
} else {
@trigger_error($error, E_USER_DEPRECATED);
}
@trigger_error($error, E_USER_DEPRECATED);
}
$this->runsInSeparateProcess = false;
}
Expand Down

0 comments on commit d79dbec

Please sign in to comment.