helper 1.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
helper 1.x-dev Module 374 10000 Dave Reid
Status Next step Instructions Drupal.org issues
Fix deprecation errors found Run Rector to fix some errors Some of the errors found are covered by drupal-rector automation (thanks to Palantir.net funding), which should be used to speed up resolving them. Check out the Project Update Bot patch in the issue queue. Get the automated fix committed first and resolve the manual problems afterwards. Drupal 10 compatibility issues
Filter errors
Occurrence in project Sort ascending All occurrences Affected projects Category Error
7 15 6 Drupal API, not rector covered Call to deprecated function drupal_get_installed_schema_version(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Update​\​UpdateHookRegistry::getInstalledVersion() or ​\​Drupal​\​Core​\​Update​\​UpdateHookRegistry::getAllInstalledVersions() instead.
3 17 13 Drupal API, not rector covered Call to deprecated function module_load_install(). Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use Drupal::moduleHandler()->loadInclude($module, 'install') instead. Note, the replacement no longer allows including code from uninstalled modules.
2 1415 681 Drupal API, rector covered Call to deprecated function drupal_get_path(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Extension​\​ExtensionPathResolver::getPath() instead.
1 34 17 Drupal API, not rector covered Call to deprecated method mimeHeaderEncode() of class Drupal​\​Component​\​Utility​\​Unicode. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use ​\​Symfony​\​Component​\​Mime​\​Header​\​UnstructuredHeader instead.
1 67 56 Twig API Class [redacted] extends deprecated class Twig_Extension: since Twig 2.7, use "Twig​\​Extension​\​AbstractExtension" instead
1 73 35 Twig API Instantiation of deprecated class Twig_SimpleFunction: since Twig 2.7, use "Twig​\​TwigFunction" instead
1 89 33 Info.yml or composer.json Value of core_version_requirement: ^9.3 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
1 3 3 Drupal API, not rector covered Call to deprecated function drupal_set_installed_schema_version(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Update​\​UpdateHookRegistry::setInstalledVersion() instead.
1 2 2 Drupal API, not rector covered Call to deprecated constant SCHEMA_UNINSTALLED: Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Update​\​UpdateHookRegistry::SCHEMA_UNINSTALLED
1 1 1 Drupal API, not rector covered Call to deprecated function drupal_get_schema_versions(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Update​\​SchemaDataInterface::getAvailableUpdates() instead.
1 1 1 Symfony API Parameter $mime_type_guesser of method Drupal​\​helper​\​File::__construct() has typehint with deprecated interface Symfony​\​Component​\​HttpFoundation​\​File​\​MimeType​\​MimeTypeGuesserInterface: since Symfony 4.3, use {@link MimeTypesInterface} instead


Results are from dataset #8203 from 2022-11-20T16:30. Report is ran by the Drupal Association regularly.