Reference Table Formatter module tests non compatible with D10.1

Created on 21 September 2023, about 1 year ago
Updated 11 October 2023, about 1 year ago

Problem/Motivation

Test a patch on Reference Table Formatter module version 8.x-1.2 on Drupal 10.1 gives the error,

PHP 8.1 & MariaDB 10.3.22, D10.1 run-tests.sh fatal error

Drupal\Core\Composer\Composer::upgradePHPUnit
PHP Fatal error:  Declaration of Drupal\Tests\reference_table_formatter\Kernel\EntityToTableRendererTest::setUp() must be compatible with Drupal\KernelTests\Core\Entity\EntityKernelTestBase::setUp(): void in /var/www/html/modules/contrib/reference_table_formatter/tests/src/Kernel/EntityToTableRendererTest.php on line 57

Drupal\Core\Composer\Composer::upgradePHPUnit
PHP Fatal error:  Declaration of Drupal\Tests\reference_table_formatter\Kernel\EntityReferenceTest::setUp() must be compatible with Drupal\KernelTests\Core\Entity\EntityKernelTestBase::setUp(): void in /var/www/html/modules/contrib/reference_table_formatter/tests/src/Kernel/EntityReferenceTest.php on line 38

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs review

Version

1.2

Component

Code

Created by

🇫🇷France Chris64 France

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

Comments & Activities

Production build 0.71.5 2024