Closed (fixed)
Project:
Config Distro
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2026 at 21:59 UTC
Updated:
24 Jan 2026 at 00:19 UTC
Jump to comment: Most recent
Make compatible with Drupal 11.
Automated fixes have already been completed in #3428536: Automated Drupal 11 compatibility fixes for config_distro.
Fix these issues:
src/Form/ConfigDistroImportForm.php: Access to an undefined property Drupal\config_distro\Form\ConfigDistroImportForm::$configManagertests/src/Unit/DistroStorageManagerTest.php: Access to an undefined property Drupal\Tests\config_distro\Unit\DistroStorageManagerTest::$memoryStorage.These are caused by changes in the core classes that config_distro extends.
Implement.
None.
None.
None.
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:
Comments
Comment #2
liam morlandComment #4
joegraduateComment #5
joegraduateComment #7
liam morlandLooks good. There is no third param to
StorageComparer::__construct(). All checks are passing. ThanksComment #9
joegraduateMerged.
Thanks for reporting @liam morland!
Looks like we missed the issue in ConfigDistroImportForm when we dropped D9 compatibility. The relevant core change was part of #2993271: Remove unused ConfigManager dependency in StorageComparer.
I believe the other PHPstan failure only exists in the MR branch for #2959209: Create rigurous tests. I pushed a change to the MR branch in that issue to address that one.
Comment #11
joegraduateComment #13
joegraduateBackported to 2.0.x since technically this was a Drupal 9+ compatibility fix.
Comment #14
joegraduate