Skip to content

fix: ensure Drupal 11.4 compatibility#65

Merged
jjroelofs merged 3 commits into
1.xfrom
drupal-11.4-compat
Jul 2, 2026
Merged

fix: ensure Drupal 11.4 compatibility#65
jjroelofs merged 3 commits into
1.xfrom
drupal-11.4-compat

Conversation

@jjroelofs

Copy link
Copy Markdown
Contributor

Summary

  • Bump drupal/autosave_form from ^1.10 to ^1.11: version 1.10's AutosaveFormBuilder passes 10 arguments to FormBuilder::__construct(), but Drupal 11.4 added an 11th parameter, causing an ArgumentCountError that crashes site installation during the scheduler_content_moderation_integration install hook.
  • Allow symfony/runtime Composer plugin: Drupal 11.4 introduces symfony/runtime as a dependency; without this allowlist entry, composer install aborts.

Test plan

  • Verified locally: fresh drush site:install dxpr_cms_installer completes successfully on Drupal 11.4.0
  • The existing ddev-install.yml GitHub Action will confirm the fix on CI (it runs a from-scratch install)

jjroelofs added 3 commits July 2, 2026 09:04
autosave_form 1.10 passes too few arguments to FormBuilder::__construct(),
which gained an 11th parameter in Drupal 11.4. Bumping to ^1.11 fixes the
ArgumentCountError that breaks site installation.

Drupal 11.4 also pulls in symfony/runtime as a Composer plugin; allow it
in the project config so composer install does not abort.
The implicit nullable fix is included upstream in version 2.3.0,
which is what ^2.2 now resolves to. The patch no longer applies
cleanly and is no longer needed.
@jjroelofs jjroelofs merged commit a54970b into 1.x Jul 2, 2026
6 checks passed
@jjroelofs jjroelofs deleted the drupal-11.4-compat branch July 2, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant