Fix return typehinting for Validator related classes

Created on 27 March 2024, 3 months ago
Updated 12 April 2024, 2 months ago

Problem/Motivation

Out there in 📌 Upgrade PHPUnit to 10, drop Symfony PHPUnit-bridge dependency Needs work 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.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Base 

Last updated 1 minute 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.69.0 2024