V2UpdatesTest::doSelectionTest() must be compatible with parent UpdatePathTestBase::doSelectionTest

Created on 19 June 2025, about 1 month ago

Problem/Motivation

Fatal error: Declaration of Drupal\Tests\metatag\Functional\Update\V2UpdatesTest::doSelectionTest() must be compatible with Drupal\FunctionalTests\Update\UpdatePathTestBase::doSelectionTest(): void in /var/www/web/modules/contrib/metatag/tests/src/Functional/Update/V2UpdatesTest.php on line 69

Steps to reproduce

Using the latests Drupal 10.5.0 release, the parent class UpdatePathTestBase has added :void return type on doSelectionTest method.

Proposed resolution

add the same return type

Remaining tasks

  • Review

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Needs review

Version

2.1

Component

Tests

Created by

πŸ‡¨πŸ‡­Switzerland wengerk Lausanne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024