Release 3.26.0 to Fix PHP Fatal error on Declaration of the normalize function must be compatible with normalize function return type after Schemata 8.x-1.0 was released

Created on 12 September 2024, 4 months ago
Updated 20 September 2024, 3 months ago

Problem/Motivation

Schemata 8.x-1.0 was released on: 12 Sep 2024 by: japerry β†’
https://www.drupal.org/project/schemata/releases/8.x-1.0 β†’

Thanks, Jakob

Facing the following Fatal error after πŸ“Œ Automated Drupal 11 compatibility fixes for schemata Fixed

PHP Fatal error:  Declaration of Drupal\jsonapi_extras\Normalizer\SchemaFieldDefinitionNormalizer::normalize($field_definition, $format = null, array $context = []) must be compatible with Drupal\schemata_json_schema\Normalizer\jsonapi\FieldDefinitionNormalizer::normalize($field_definition, $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null in /var/www/html/docroot/modules/contrib/jsonapi_extras/src/Normalizer/SchemaFieldDefinitionNormalizer.php on line 36

Proposed resolution

Add : array|bool|string|int|float|null|\ArrayObject to the normalize function

Remaining tasks

  • Release the 8.x-3.26 tag

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

RTBC

Version

3.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.71.5 2024