8000 [PhpUnitBridge] Fix some errors when using serialized deprecations by l-vo · Pull Request #31478 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[PhpUnitBridge] Fix some errors when using serialized deprecations #31478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[PhpUnitBridge] Remove useless is/else statement
  • Loading branch information
l-vo committed Jun 2, 2019
commit d79dbeccc639da148d8a3b387915fb24ac14e296
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