From a8533e25db573ba9b5a23aae5a846affabf54b05 Mon Sep 17 00:00:00 2001 From: Yash Rode <57207-yash.rode@users.noreply.drupalcode.org> Date: Tue, 21 Feb 2023 15:39:54 +0000 Subject: [PATCH] Issue #3327229 by yash.rode, Wim Leers: Remove `@requires PHP >= 8.0` annotation from all tests --- .../tests/src/Functional/StatusCheckerRunAfterUpdateTest.php | 2 -- tests/src/Functional/StagedDatabaseUpdateTest.php | 2 -- tests/src/Functional/StatusCheckerRunAfterUpdateTest.php | 2 -- 3 files changed, 6 deletions(-) diff --git a/automatic_updates_extensions/tests/src/Functional/StatusCheckerRunAfterUpdateTest.php b/automatic_updates_extensions/tests/src/Functional/StatusCheckerRunAfterUpdateTest.php index 0f2976b51f..40b18ef02b 100644 --- a/automatic_updates_extensions/tests/src/Functional/StatusCheckerRunAfterUpdateTest.php +++ b/automatic_updates_extensions/tests/src/Functional/StatusCheckerRunAfterUpdateTest.php @@ -35,8 +35,6 @@ class StatusCheckerRunAfterUpdateTest extends UpdaterFormTestBase { * Whether the site has database updates or not. * * @dataProvider providerStatusCheckerRunAfterUpdate - * - * @requires PHP >= 8.0 */ public function testStatusCheckerRunAfterUpdate(bool $has_database_updates): void { $this->setReleaseMetadata(__DIR__ . '/../../fixtures/release-history/semver_test.1.1.xml'); diff --git a/tests/src/Functional/StagedDatabaseUpdateTest.php b/tests/src/Functional/StagedDatabaseUpdateTest.php index 837d3beb74..96c91c3b7d 100644 --- a/tests/src/Functional/StagedDatabaseUpdateTest.php +++ b/tests/src/Functional/StagedDatabaseUpdateTest.php @@ -38,8 +38,6 @@ class StagedDatabaseUpdateTest extends UpdaterFormTestBase { * update process. * * @dataProvider providerStagedDatabaseUpdates - * - * @requires PHP >= 8.0 */ public function testStagedDatabaseUpdates(bool $maintenance_mode_on): void { $this->getStageFixtureManipulator()->setCorePackageVersion('9.8.1'); diff --git a/tests/src/Functional/StatusCheckerRunAfterUpdateTest.php b/tests/src/Functional/StatusCheckerRunAfterUpdateTest.php index 79e76e8841..4e107e65b6 100644 --- a/tests/src/Functional/StatusCheckerRunAfterUpdateTest.php +++ b/tests/src/Functional/StatusCheckerRunAfterUpdateTest.php @@ -35,8 +35,6 @@ class StatusCheckerRunAfterUpdateTest extends UpdaterFormTestBase { * Whether the site has database updates or not. * * @dataProvider providerStatusCheckerRunAfterUpdate - * - * @requires PHP >= 8.0 */ public function testStatusCheckerRunAfterUpdate(bool $has_database_updates) { $this->getStageFixtureManipulator()->setCorePackageVersion('9.8.1'); -- GitLab