Change all Deprecated in drupal:10.3.0 and is removed from drupal:12.0.0 since Symfony 6.4

Created on 16 September 2024, 2 months ago

Problem/Motivation


CONTRIBUTED PROJECTS
--------------------------------------------------------------------------------
Bootstrap Layouts 8.x-5.3
Scanned on Sat, 09/14/2024 - 19:46.
modules/contrib/bootstrap_layouts/src/BootstrapLayoutsManager.php:
+--------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status | line | message                                                                                                                                                                                                                            |
+--------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Ignore | 103  | Call to deprecated method getName() of class
Drupal\Core\Extension\ModuleHandlerInterface. Deprecated in
drupal:10.3.0 and is removed from drupal:12.0.0. Use
Drupal::service('extension.list.module')->getName($module)
instead.
 |
+--------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
modules/contrib/bootstrap_layouts/src/BootstrapLayoutsPluginManager.php:
+----------------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                                                                                                                           |
+----------------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 16   | Class Drupal\bootstrap_layouts\BootstrapLayoutsPluginManager
implements deprecated interface
Symfony\Component\DependencyInjection\ContainerAwareInterfac
e: since Symfony 6.4, use dependency injection instead
 |
| Check
manually | 18   | Usage of deprecated trait
Symfony\Component\DependencyInjection\ContainerAwareTrait in
class
Drupal\bootstrap_layouts\BootstrapLayoutsPluginManager:
since Symfony 6.4, use dependency injection instead
         |
+----------------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
modules/contrib/bootstrap_layouts/src/Plugin/BootstrapLayouts/BootstrapLayoutsHa
ndlerBase.php:
+----------------+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                                                                                                                                          |
+----------------+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 15   | Usage of deprecated trait
Symfony\Component\DependencyInjection\ContainerAwareTrait in
class
Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLa
youtsHandlerBase: since Symfony 6.4, use dependency
injection instead
 |
+----------------+------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
modules/contrib/bootstrap_layouts/src/Plugin/BootstrapLayouts/BootstrapLayoutsHa
ndlerInterface.php:
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                                                                                                                                                        |
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 14   | Interface
Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLa
youtsHandlerInterface extends deprecated interface
Symfony\Component\DependencyInjection\ContainerAwareInterfac
e: since Symfony 6.4, use dependency injection instead
 |
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
modules/contrib/bootstrap_layouts/src/Plugin/BootstrapLayouts/BootstrapLayoutsUp
dateBase.php:
+----------------+------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                                                                                                                                         |
+----------------+------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 13   | Usage of deprecated trait
Symfony\Component\DependencyInjection\ContainerAwareTrait in
class
Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLa
youtsUpdateBase: since Symfony 6.4, use dependency injection
instead
 |
+----------------+------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
modules/contrib/bootstrap_layouts/src/Plugin/BootstrapLayouts/BootstrapLayoutsUp
dateInterface.php:
+----------------+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status         | line | message                                                                                                                                                                                                                                       |
+----------------+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 12   | Interface
Drupal\bootstrap_layouts\Plugin\BootstrapLayouts\BootstrapLa
youtsUpdateInterface extends deprecated interface
Symfony\Component\DependencyInjection\ContainerAwareInterfac
e: since Symfony 6.4, use dependency injection instead
 |
+----------------+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-

Proposed resolution

Remaining tasks

  • ✅ File an issue
  • ➖ Addition/Change/Update/Fix
  • ➖ Testing to ensure no regression
  • ➖ Automated unit testing coverage
  • ➖ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ➖ Code review by maintainers
  • ➖ Full testing and approval
  • ➖ Credit contributors
  • ➖ Review with the product owner
  • ➖ Release notes snippet
  • ❌ Release

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
📌 Task
Status

Needs work

Version

5.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024