Describe your bug or feature request.

Currently, tests are failing with Drupal 10, due to a change to Drupal\serialization\Normalizer\PrimitiveDataNormalizer.

The normalize() method now has the following return type:

: array|string|int|float|bool|\ArrayObject|NULL

Union types are only allowed since PHP 8.0, so our only option here is to drop PHP7 compatibility.

Let's do that in the 3.x branch only for now.

CommentFileSizeAuthor
#3 3310687-2.patch1.69 KBjsacksick

Comments

jsacksick created an issue. See original summary.

  • jsacksick committed 81089ae on 3.0.x
    Issue #3310687 by jsacksick: Drop PHP7 compatibilibity.
    
jsacksick’s picture

Status: Active » Fixed
StatusFileSize
new1.69 KB
jsacksick’s picture

Issue tags: +KickstartPrague2022

  • jsacksick committed b34b891 on 3.0.x
    Issue #3310687 followup: The PriceNumberNormalizer is no longer...

  • jsacksick committed 280abe9 on 8.x-2.x
    Issue #3310687 followup: The PriceNumberNormalizer is no longer...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.