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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3262227-2.patch | 1.23 KB | daffie |
Comments
Comment #2
daffie commentedThe fix.
Comment #3
longwaveArguably 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.
Comment #5
catchGood 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!