basket 2.0.3-rc1 Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
basket 2.0.3-rc1 Module 222 10000 Helena Zajika
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
17 1113 540 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.
2 62 26 Twig API Instantiation of deprecated class Twig_SimpleFunction: since Twig 2.7, use "Twig​\​TwigFunction" instead
1 55 45 Twig API Class [redacted] extends deprecated class Twig_Extension: since Twig 2.7, use "Twig​\​Extension​\​AbstractExtension" instead
1 890 616 Info.yml or composer.json Value of core_version_requirement: ^8.8 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
1 286 133 Drupal API, rector covered Call to deprecated function render(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Render​\​RendererInterface::render() instead.
1 1 1 Symfony API Parameter $event of method Drupal​\​basket​\​Event​\​EventSubscriber::onResponse() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​FilterResponseEvent: since Symfony 4.3, use ResponseEvent instead
1 1 1 Other problem Call to deprecated method viewsJoin() of class Drupal​\​basket​\​Query​\​BasketGetNodeImgQuery. Deprecated in basket:2.0.0 and is removed from basket:3.0.0. Use Drupal::getContainer()->get('BasketQuery')->ImgViewsJoin($view).
1 1 1 Other problem Call to method viewsJoin() of deprecated class Drupal​\​basket​\​Query​\​BasketGetNodeImgQuery. Deprecated in basket:2.0.0 and is removed from basket:3.0.0. Use Drupal::getContainer()->get('BasketQuery').
1 1 1 Other problem Call to deprecated method getDefFid() of class Drupal​\​basket​\​Query​\​BasketGetNodeImgQuery. Deprecated in basket:2.0.0 and is removed from basket:3.0.0. Use Drupal::getContainer()->get('BasketQuery')->getDefFid($entity).
1 1 1 Other problem Call to method getDefFid() of deprecated class Drupal​\​basket​\​Query​\​BasketGetNodeImgQuery. Deprecated in basket:2.0.0 and is removed from basket:3.0.0. Use Drupal::getContainer()->get('BasketQuery').
1 1 1 Other problem Call to deprecated method getNodeImgFirst() of class Drupal​\​basket​\​Query​\​BasketGetNodeImgQuery. Deprecated in basket:2.0.0 and is removed from basket:3.0.0. Use Drupal::getContainer()->get('BasketQuery')->getNodeImgFirst($entity).
1 1 1 Other problem Call to method getNodeImgFirst() of deprecated class Drupal​\​basket​\​Query​\​BasketGetNodeImgQuery. Deprecated in basket:2.0.0 and is removed from basket:3.0.0. Use Drupal::getContainer()->get('BasketQuery').
1 1 1 Frontend API The 'admin.js' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 4 4 Frontend API The 'admin' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256


Results are from dataset #9997 from 2023-03-12T14:42. Report is ran by the Drupal Association regularly.