Log warning when relatable resource type references a missing entity type / bundle instead triggering E_USER_WARNING

Created on 10 April 2024, about 1 year ago
Updated 29 April 2024, about 1 year ago

Problem/Motivation

PHPUnit 10 removed PHPUnit\Framework\Error\Error and PHPUnit\Framework\Error\Warningmethods.

Replace them as appropriate from Drupal\Tests\jsonapi\Kernel\ResourceType\RelatedResourceTypesTest; requires refactoring of runtime code to remove trigger_error() calls.

Proposed resolution

๐Ÿ“Œ Task
Status

Fixed

Version

10.3 โœจ

Component
PHPUnitย  โ†’

Last updated about 2 hours ago

Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly mondrake ๐Ÿ‡ฎ๐Ÿ‡น

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

Comments & Activities

Production build 0.71.5 2024