Needs review
Project:
Group
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2026 at 15:38 UTC
Updated:
1 Jun 2026 at 20:06 UTC
Jump to comment: Most recent
When scanning Group 3.3.5 with Upgrade Status in Drupal 11, there are a few dozen warnings listed of the form,
web/modules/composer/group/src/Controller/GroupMembershipController.php 55 Unsafe usage of new static().
In Drupal 11, use Upgrade Status to scan Group 3.3.5. Look at the identified problems.
In the 4.0 branch, use autowiring where possible; where not, use the $instance = parent::create() pattern or use self() instead of static(), as appropriate.
Make a MR. I am assigning this branch to myself until I have one ready for review.
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 #3
benstallings commented