follow-up Fix return typehinting for Validator related classes

Created on 1 April 2024, 9 months ago
Updated 15 April 2024, 8 months ago

Problem/Motivation

Out there in 📌 Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency Fixed there are still a lot of DebugClassloader deprecations for Symfony 7 typehints, see https://git.drupalcode.org/issue/drupal-3417066/-/pipelines/130322 and its test jobs.

Proposed resolution

In this issue, fix Validator related issues like

    Method
"Symfony\Component\Validator\ConstraintValidatorInterface::validate()"
might add "void" as a native return type declaration in the future. Do the
same in implementation
"Drupal\Core\Extension\Plugin\Validation\Constraint\ExtensionExistsConstraintValidator"
now to avoid errors or add an explicit @return annotation to suppress this
message.

Some went missing in the parent issue.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Base 

Last updated about 5 hours ago

Created by

🇮🇹Italy mondrake 🇮🇹

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024