Problem/Motivation
Came up as a test fail as part of #2976394: Allow Symfony 4.4 to be installed in Drupal 8 but it is not technically a Symfony 4 fail, since the implemented methods were already internal in Symfony 3.4. It looks as though this interface was not meant to be implemented as it explicitly says some of its methods are not to be considered stable.
Proposed resolution
Ultimately looks like we need to get off of this interface. #2976394: Allow Symfony 4.4 to be installed in Drupal 8 just added it to the deprecation listener to silence the message.
Remaining tasks
Fix on the Drupal 9 branch.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3030474-6-with-2976394-134.patch | 163.46 KB | gábor hojtsy |
| #6 | 3030474-6.patch | 2.03 KB | gábor hojtsy |
| #3 | 3030474-2-with-2976394-134.patch | 163.47 KB | gábor hojtsy |
| #2 | 3030474-2.patch | 2.04 KB | gábor hojtsy |
Comments
Comment #2
gábor hojtsyComment #3
gábor hojtsyRolled in with #2976394-134: Allow Symfony 4.4 to be installed in Drupal 8.
Comment #5
gábor hojtsyHm that did not make the notices go away :/
Comment #6
gábor hojtsy#3031577: \Drupal\Tests\Listeners\DeprecationListenerTrait::getSkippedDeprecations() does not work in unit tests most probably solved our fails here. I rerolled because the patches did not apply anymore. The Symfony 4 combined patch segment is still up to date.
Comment #8
gábor hojtsy#3031577: \Drupal\Tests\Listeners\DeprecationListenerTrait::getSkippedDeprecations() does not work in unit tests got rolled back in the meantime so its fail may or may not be indicative of the patch not being sufficient. Postponing on that again.
Comment #9
gábor hojtsyComment #11
gábor hojtsyThis has been part of #2976394: Allow Symfony 4.4 to be installed in Drupal 8 for a while. Can close this as duplicate.
Comment #12
gábor hojtsyWell, hm, that refers to this issue to actually resolve it since the patch just skips the deprecation there. So we should still keep it open postponed on Drupal 9 branch.
Comment #14
gábor hojtsyThe deprecation listener was updated with a similar fix in #3088369: Update Drupal 9 to Symfony 4.4-dev.