Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Category Message Sort descending
1 1 10000 Other problem A file could not be loaded from module_load_include
3 1 10000 Drupal API, not rector covered Access to deprecated property $escapedNames of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. This is no longer used. Use Drupal​\​Core​\​Database​\​Connection::$escapedTables or ​\​Drupal​\​Core​\​Database​\​Connection::$escapedFields instead.
1 1 10000 Other problem Add core_version_requirement to designate which Drupal versions is the extension compatible with. See https://drupal.org/node/3070687.
3 3 10000 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.
8 6 10000 Drupal API, rector covered Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on ​\​Drupal​\​Core​\​File​\​FileUrlGeneratorInterface instead.
1 1 10000 Drupal API, rector covered Call to deprecated function file_move(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileRepositoryInterface::move() instead.
2 1 10000 Drupal API, rector covered Call to deprecated function file_save_data(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileRepositoryInterface::writeData() instead.
2 1 10000 Other problem Call to deprecated function libxml_disable_entity_loader().
1 1 10000 Drupal API, not rector covered Call to deprecated function menu_ui_get_menus(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​system​\​Entity​\​Menu::loadMultiple() instead.
2 1 10000 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 10000 Drupal API, rector covered Call to deprecated method assertCacheTag() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseHeaderContains() instead.
1 1 10000 Drupal API, rector covered Call to deprecated method assertHeader() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.3.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseHeaderEquals() instead.
1 1 1000 Drupal API, rector covered Call to deprecated method assertRaw() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseContains() instead.
8 1 10000 Drupal API, rector covered Call to deprecated method assertResponse() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->statusCodeEquals() instead.
1 1 10000 Drupal API, not rector covered Call to deprecated method generateTemporaryTableName() of class Drupal​\​oracle​\​Driver​\​Database​\​oracle​\​Connection. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement.
3 1 10000 Drupal API, not rector covered Call to deprecated method getImplementations() of class Drupal​\​Core​\​Extension​\​ModuleHandler. 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.
2 2 10000 Drupal API, not rector covered 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.
1 1 10000 Drupal API, not rector covered Call to deprecated method implementsHook() of class Drupal​\​Core​\​Extension​\​ModuleHandler. Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use the hasImplementations() methods instead with the $modules argument.
1 1 10000 Drupal API, not rector covered Call to deprecated method implementsHook() of class Drupal​\​Core​\​Extension​\​ModuleHandlerInterface. Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. Use the hasImplementations() methods instead with the $modules argument.
1 1 10000 Drupal API, not rector covered Call to deprecated method prepare() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should instantiate ​\​PDOStatement objects by calling ​\​PDO::prepare in their Connection::prepareStatement method instead. ​\​PDO::prepare should not be called outside of driver code.
1 1 10000 Drupal API, not rector covered Call to deprecated method prepareQuery() of class Drupal​\​Core​\​Database​\​Connection. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use ::prepareStatement instead.
1 1 10000 Drupal API, not rector covered Call to deprecated method prepareQuery() of class Drupal​\​oracle​\​Driver​\​Database​\​oracle​\​Connection. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use ::prepareStatement instead.
19 3 1000 PHPUnit API Call to deprecated method prophesize() of class PHPUnit​\​Framework​\​TestCase: https://github.com/sebastianbergmann/phpunit/issues/4141
10 2 1000 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
3 1 10000 Symfony API Call to deprecated method stopPropagation() of class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead
1 1 10000 Other problem Call to deprecated method toMinorUnits() of class Drupal​\​commerce_payment​\​Plugin​\​Commerce​\​PaymentGateway​\​PaymentGatewayBase.
1 1 10000 Other problem Call to deprecated method waitForAjaxToFinish() of class Drupal​\​Tests​\​commerce​\​FunctionalJavascript​\​CommerceWebDriverTestBase. Deprecated in commerce:8.x-2.16 and is removed from commerce:3.x.
2 1 10000 Drupal API, not rector covered Call to method bindParam() of deprecated class PDOStatement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method execute() of deprecated class Drupal​\​Core​\​Database​\​Statement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.
1 1 10000 Drupal API, not rector covered Call to method fetch() of deprecated class PDOStatement. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Database drivers should use or extend StatementWrapper instead, and encapsulate client-level statement objects.


Results are from dataset #127580 from 2024-03-24T12:31. Report is ran by the Drupal Association regularly.