Problem/Motivation
System config needs to be installed before language config. This does not always happen in kernel tests.
Steps to reproduce
Run Drupal\Tests\language\Kernel\LanguageDependencyInjectionTest and no longer see the deprecation due to
1) /builds/issue/drupal-3523596/core/modules/language/src/EventSubscriber/ConfigSubscriber.php:104
Using null as an array offset is deprecated, use an empty string instead
Proposed resolution
Fix how config is installed so new is not used as a key.
Remaining tasks
User interface changes
None
Introduced terminology
N/a
API changes
None
Data model changes
None
Release notes snippet
N/a
Issue fork drupal-3557273
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3557273-fix-deprecations-due
changes, plain diff MR !13778
Comments
Comment #2
alexpottComment #3
alexpottComment #5
smustgrave commentedLast tab of the day.
I tested this one locally. I got 1 deprecation on core/modules/ckeditor5/tests/src/Kernel/LanguageTest.php
With the MR I got 0
Believe this one is good.
Comment #6
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!