Unit test fails because of return type

Created on 2 August 2023, over 1 year ago

Problem/Motivation

Unit test fails due to:
PHP Fatal error: Declaration of Drupal\Tests\restui\FunctionalJavascript\RestUITest::setUp() must be compatible with Drupal\Tests\BrowserTestBase::setUp(): void in /app/web/modules/contrib/restui/tests/src/FunctionalJavascript/RestUITest.php on line 28

Steps to reproduce

Run unit tests in Drupal 10, PHP 8.1

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

1.21

Component

Code

Created by

🇫🇮Finland simohell

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

Comments & Activities

Production build 0.71.5 2024