This is an automated patch generated by Drupal Rector. Please see the issue summary for more details.
It is important that any automated tests available are run with this patch and that you manually test this patch.
Drupal 10 Compatibility
According to the Upgrade Status module → , even with this patch, this module is not yet compatible with Drupal 10.
Currently Drupal Rector, version 0.15.1, cannot fix all Drupal 10 compatibility problems.
Therefore this patch does not update the
info.yml
file for Drupal 10 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 10 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #12554This patch was created using these packages:
- mglaman/phpstan-drupal: 1.1.35
- palantirnet/drupal-rector: 0.15.1
- 🇬🇧United Kingdom iancawthorne
@reenaraghavan which version of the module does is your patch for? I can't get it to apply to 1.0 or 1.x-dev.
- 🇬🇧United Kingdom robbm
@iancawthorne, #5 patched OK against 1.x-dev here (using
composer require 'drupal/jquery_carousel:1.x-dev@dev'
).However, Upgrade Status reports that there are still three issues…
- web/modules/contrib/jquery_carousel/jquery_carousel.module (line 323)
Call to deprecated method getImplementations() of class Drupal\Core\Extension\ModuleHandlerInterface. Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Instead you should use ModuleHandlerInterface::invokeAllWith() for hook invocations or you should use ModuleHandlerInterface::hasImplementations() to determine if hooks implementations exist. - web/modules/contrib/jquery_carousel/jquery_carousel.libraries.yml (line 0)
The 'drupal.jquery_carousel' library is depending on a deprecated library. The "core/jquery.ui.widget" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3067969 → - web/modules/contrib/jquery_carousel/jquery_carousel.libraries.yml (line 0)
The 'jquery_ui_carousel' library is depending on a deprecated library. The "core/jquery.ui.widget" asset library is deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3067969 →
- web/modules/contrib/jquery_carousel/jquery_carousel.module (line 323)