Problem/Motivation

Vardoc 4.1.x does not allow Drupal 12 or Drupal 11.5: every core_version_requirement and the drupal/core constraint pin ~11.4.0. vardoc_profile.install also uses FileSystemInterface::EXISTS_REPLACE, which is deprecated in drupal:10.3.0 and removed from drupal:12.0.0. Found by a phpstan deprecation scan against Drupal 11.5.0-beta1.

Proposed resolution

On the 4.1.x branch:

  • modules/vardoc_book/vardoc_book.info.yml: ~11.4.0 to ^11.4 || ^12
  • modules/vardoc_demo/vardoc_demo.info.yml: ~11.4.0 to ^11.4 || ^12
  • modules/vardoc_homepage/vardoc_homepage.info.yml: ~11.4.0 to ^11.4 || ^12
  • modules/vardoc_page/vardoc_page.info.yml: ~11.4.0 to ^11.4 || ^12
  • modules/vardoc_profile/vardoc_profile.info.yml: ~11.4.0 to ^11.4 || ^12
  • modules/vardoc_search/vardoc_search.info.yml: ~11.4.0 to ^11.4 || ^12
  • modules/vardoc_tools/vardoc_tools.info.yml: ~11.4.0 to ^11.4 || ^12
  • themes/vardoc_theme/vardoc_theme.info.yml: ~11.4.0 to ^11.4 || ^12
  • vardoc.info.yml: ~11.4.0 to ^11.4 || ^12
  • composer.json drupal/core: ~11.4.0 to ^11.4 || ^12.0
  • Use FileExists::Replace instead of FileSystemInterface::EXISTS_REPLACE in vardoc_profile.install.

These dependencies do not allow ^12 in their latest release yet, so Drupal 12 still waits on them: drupal/fontawesome, drupal/sharethis, drupal/menu_link_attributes, drupal/book_tree_menu, drupal/svg_image, drupal/search_api_autocomplete.

Remaining tasks

  • [x] File an issue about this project
  • [ ] Addition/Change/Update/Fix to this project
  • [ ] Testing to ensure no regression
  • [ ] Automated unit/functional testing coverage
  • [ ] Developer Documentation support on feature change/addition
  • [ ] User Guide Documentation support on feature change/addition
  • [ ] UX/UI designer responsibilities
  • [ ] Accessibility and Readability
  • [ ] Reviewed by a human
  • [ ] Code review by maintainers
  • [ ] Full testing and approval
  • [ ] Credit contributors
  • [ ] Review with the product owner
  • [ ] Update Release Notes
  • [ ] Release

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Allow Drupal 11.5 and Drupal 12.

AI-Generated: Yes

Issue fork vardoc-3642284

Command icon 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:

Comments

rajab natshah created an issue.