Issue #3540750: Drupal 11 and 12 compatibility

  • core_version_requirement: ^10.5 || ^11.2 || ^12 in the module, the test module and composer.json.
  • Removes view_profile_perms.install: its file and function names never matched the module, so update 8600 never ran, and it calls user_roles(), which 11.x removed.
  • PHPUnit #[Group] and #[RunTestsInSeparateProcesses] attributes on the test.

Tested: ViewProfilesPermsTest passes on Drupal 11.4.10 and 12.0-dev.

AI-Generated: Partially. Claude Code drafted this description; I reviewed the change and ran the tests.

Merge request reports

Loading
Loading