Problem/Motivation

There are a number of times that with Symfony 6 we get the deprecation message:

The "Symfony\Component\Validator\Context\ExecutionContextInterface::isGroupValidated()" method is considered internal Used by the validator engine. It may change without further notice. You should not extend it from "Drupal\Core\TypedData\Validation\ExecutionContext".

Proposed resolution

Update the trait Drupal\Tests\Listeners\DeprecationListenerTrait

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

None

For the committer: The patch was part of the patch from #3161889-229: [META] Symfony 6 compatibility from @longwave.

CommentFileSizeAuthor
#2 3262227-2.patch1.23 KBdaffie

Comments

daffie created an issue. See original summary.

daffie’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.23 KB

The fix.

longwave’s picture

Status: Needs review » Reviewed & tested by the community

Arguably this can go in at the same time as the SF6 patch as it's only one line, but doing it this way is a tiny bit cleaner I guess.

  • catch committed f02ccc2 on 10.0.x
    Issue #3262227 by daffie, longwave: Suppress deprecation message for...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Good to minimise the diff on the other issue although yeah wouldn't have minded it going in with the main patch.

Committed f02ccc2 and pushed to 10.0.x. Thanks!

Status: Fixed » Closed (fixed)

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