- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request (MR) is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → , even with these changes, this module is not yet compatible with Drupal 11.
Currently Drupal Rector, version 0.20.1, cannot fix all Drupal 11 compatibility problems.
Therefore, these changes did not update the
info.yml
file for Drupal 11 compatibility.The compatibility issues that Upgrade Status found after the Drupal Rector fixes were applied are attached to help you resolve them manually.
Leaving this issue open, even after committing the current patch or merging the MR, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug information
Bot run #11-137198These packages were used to generate the fixes:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.10
- palantirnet/drupal-rector: 0.20.1
- Status changed to Needs work
about 1 year ago 3:21am 5 April 2024 - 🇺🇸United States phenaproxima Massachusetts
+++ b/automatic_updates_extensions/src/Form/UpdateReady.php @@ -79,14 +79,14 @@ final class UpdateReady extends UpdateFormBase { public static function create(ContainerInterface $container) { return new static( - $container->get(ExtensionUpdateStage::class), + $this->stage, $container->get('messenger'), $container->get('state'), $container->get('extension.list.module'), $container->get('renderer'), $container->get('event_dispatcher'), - $container->get(ComposerInspector::class), - $container->get(PathLocator::class), + $this->composerInspector, + $this->pathLocator, );
Are you f**kin' serious? This is not just nonsensical, this is a fatal error! You can't use
$this
in a static method.Also, we're not going to need this patch. We are already testing Automatic Updates against Drupal 11, as a core module.
- Status changed to Closed: works as designed
7 months ago 2:43pm 12 September 2024 - 🇺🇸United States phenaproxima Massachusetts
We're already Drupal 11 compatible.