Skip to content
Snippets Groups Projects

Issue #3341224: Always catch \Throwable, not \Exception and always pass the old exception when re-throwing.

Merged Issue #3341224: Always catch \Throwable, not \Exception and always pass the old exception when re-throwing.
All threads resolved!
All threads resolved!
34 files
+ 854
97
Compare changes
  • Side-by-side
  • Inline
Files
34
@@ -35,8 +35,6 @@ class StatusCheckerRunAfterUpdateTest extends UpdaterFormTestBase {
@@ -35,8 +35,6 @@ class StatusCheckerRunAfterUpdateTest extends UpdaterFormTestBase {
* Whether the site has database updates or not.
* Whether the site has database updates or not.
*
*
* @dataProvider providerStatusCheckerRunAfterUpdate
* @dataProvider providerStatusCheckerRunAfterUpdate
*
* @requires PHP >= 8.0
*/
*/
public function testStatusCheckerRunAfterUpdate(bool $has_database_updates): void {
public function testStatusCheckerRunAfterUpdate(bool $has_database_updates): void {
$this->setReleaseMetadata(__DIR__ . '/../../fixtures/release-history/semver_test.1.1.xml');
$this->setReleaseMetadata(__DIR__ . '/../../fixtures/release-history/semver_test.1.1.xml');
Loading