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 → this patch makes this module compatible with Drupal 10! 🎉
Therefore this patch updates theinfo.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
- First commit to issue fork.
- 🇮🇳India dineshkumarbollu
Hi
After applying the patch still D10 compatible issues are there.
vendor/bin/drush upgrade_status:analyze acb
[notice] Processing /var/www/html/contributions/web/modules/contrib/acb-3285906.================================================================================
Access Control Bridge, --
Scanned on Tue, 07/11/2023 - 15:30FILE: web/modules/contrib/acb-3285906/acb.module
STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 39 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.
--------------------------------------------------------------------------------
Fix now 40 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.
-------------------------------------------------- - Assigned to dineshkumarbollu
- Status changed to Needs work
over 1 year ago 10:04am 11 July 2023 - @dineshkumarbollu opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 10:09am 11 July 2023 - 🇮🇳India dineshkumarbollu
Hi
I created MR for this issue and aslo attaching D10 report.
Thanks
- Status changed to Needs work
over 1 year ago 7:34pm 18 July 2023 - 🇺🇦Ukraine i-trokhanenko Lutsk 🇺🇦
I think it would be nice to keep Drupal 9 compatibility, can we add something like this to the "acb_get_modules" function?
if (version_compare(\Drupal::VERSION, '9.4', '>=')) { $modules = array_unique( array_merge( \Drupal::moduleHandler()->hasImplementations('node_grants'), \Drupal::moduleHandler()->hasImplementations('node_access_records') ) ); } else { $modules = array_unique( array_merge( \Drupal::moduleHandler()->getImplementations('node_grants'), \Drupal::moduleHandler()->getImplementations('node_access_records') ) ); }
- Status changed to Needs review
over 1 year ago 1:33pm 19 July 2023 - 🇺🇦Ukraine i-trokhanenko Lutsk 🇺🇦
Added D10 compatibility while keeping D9 functionality, please review
-
i-trokhanenko →
committed e82e90bb on 8.x-1.x
Issue #3285906 by i-trokhanenko: Automated Drupal 10 compatibility fixes
-
i-trokhanenko →
committed e82e90bb on 8.x-1.x
- Status changed to Fixed
about 1 year ago 1:54pm 8 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.