Drupal 10 deprecation errors

Filter errors
All occurences Sort ascending Affected projects Occurs in a top X project by usage Category Message
70 62 1000 Info.yml or composer.json Value of core_version_requirement is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
19 3 1000 PHPUnit API Call to deprecated method prophesize() of class PHPUnit​\​Framework​\​TestCase: https://github.com/sebastianbergmann/phpunit/issues/4141
16 16 10000 Info.yml or composer.json The drupal/core requirement is not compatible with the next major version of Drupal. Either remove it or update it to be compatible. See https://www.drupal.org/docs/develop/using-composer/add-a-composerjson-file#core-compatibility.
10 2 1000 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
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.
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.
7 4 1000 Symfony API Class [redacted] extends deprecated class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead
7 4 10000 Drupal API, not rector covered Relying on entity queries to check access by default is deprecated in drupal:9.2.0 and an error will be thrown from drupal:10.0.0. Call ​\​Drupal​\​Core​\​Entity​\​Query​\​QueryInterface::accessCheck() with TRUE or FALSE to specify whether access should be checked.
3 3 10000 Drupal API, rector covered Drupal​\​Tests​\​BrowserTestBase::$defaultTheme is required in drupal:9.0.0 when using an install profile that does not set a default theme. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.
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.
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.
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
2 1 10000 Other problem Call to deprecated function libxml_disable_entity_loader().
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.
2 2 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.
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 2 10000 Frontend API The 'widget' 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
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.
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.
2 1 10000 Drupal API, not rector covered Call to method fetchAll() 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 1000 Symfony API Parameter $event of method Drupal​\​akamai​\​EventSubscriber​\​CacheableResponseSubscriber::onRespond() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​FilterResponseEvent: since Symfony 4.3, use ResponseEvent 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.
1 1 10000 Other problem Property Drupal​\​Tests​\​fotorama_gallery​\​FunctionalJavascript​\​FotoramaGalleryTest::$modules property must be protected.
1 1 10000 Other problem Class Drupal​\​taxonomy_breadcrumb​\​VocabularyForm extends @internal class Drupal​\​taxonomy​\​VocabularyForm.
1 1 10000 Other problem Property Drupal​\​Tests​\​commerce_sermepa​\​Functional​\​SermepaGatewayOnNotifyTest::$modules property must be protected.
1 1 10000 Other problem Property Drupal​\​Tests​\​commerce_sermepa​\​FunctionalJavascript​\​SermepaGatewayUiTest::$modules property must be protected.
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.
1 1 10000 Other problem Property Drupal​\​Tests​\​ckeditor_format_buttons​\​Kernel​\​FormatButtonsPluginTest::$modules property must be protected.
1 1 10000 Other problem Property Drupal​\​Tests​\​backup_db​\​Functional​\​InstallTest::$modules property must be protected.
1 1 10000 Frontend API The 'yamaps-init' 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 #134788 from 2024-04-01T19:47. Report is ran by the Drupal Association regularly.