Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Sort descending Category Message
1008 520 50 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.
280 150 50 Drupal API, rector covered Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​File​\​FileUrlGenerator::transformRelative() instead.
366 209 50 Symfony API Class [redacted] extends deprecated class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead
1 1 50 Drupal API, not rector covered Class [redacted] extends deprecated class Drupal​\​node​\​Plugin​\​Condition​\​NodeType. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Entity​\​Plugin​\​Condition​\​EntityBundle instead.
1361 975 50 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.
842 842 50 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://drupal.org/node/2514612#s-drupal-9-compatibility.
1 1 50 Drupal API, not rector covered Call to deprecated method verbose() of class Drupal​\​Tests​\​metatag_extended_perms​\​Functional​\​PermissionsTest. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
1989 879 50 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 1 50 Drupal API, not rector covered Call to deprecated method verbose() of class Drupal​\​Tests​\​metatag​\​Functional​\​MetatagFieldTestBase. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
4 1 50 Drupal API, not rector covered Call to deprecated method verbose() of class Drupal​\​Tests​\​metatag​\​Functional​\​MetatagTagsTestBase. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
1 1 50 Drupal API, not rector covered Call to deprecated method verbose() of class Drupal​\​Tests​\​metatag​\​Functional​\​NodeJsonOutput. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
405 263 50 Info.yml or composer.json Value of core_version_requirement: ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
3617 192 50 Drupal API, rector covered Call to deprecated method assertText() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use - $this->assertSession()->responseContains() for non-HTML responses, like XML or Json. - $this->assertSession()->pageTextContains() for HTML responses. Unlike the deprecated assertText(), the passed text should be HTML decoded, exactly as a human sees it in the browser.
526 63 50 Drupal API, rector covered Call to deprecated method assertNoText() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use - $this->assertSession()->responseNotContains() for non-HTML responses, like XML or Json. - $this->assertSession()->pageTextNotContains() for HTML responses. Unlike the deprecated assertNoText(), the passed text should be HTML decoded, exactly as a human sees it in the browser.
22 9 50 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.
37 14 50 Drupal API, rector covered Call to deprecated method pass() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. PHPUnit interrupts a test as soon as a test assertion fails, so there is usually no need to call this method. If a test's logic relies on this method, refactor the test.
59 14 50 Drupal API, rector covered Call to deprecated method assertNoField() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->fieldNotExists() or $this->assertSession()->buttonNotExists() instead.
17 7 50 Drupal API, rector covered Call to deprecated method pass() of class Drupal​\​KernelTests​\​KernelTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. PHPUnit interrupts a test as soon as a test assertion fails, so there is usually no need to call this method. If a test's logic relies on this method, refactor the test.
4382 377 50 Drupal API, rector covered Call to deprecated method drupalPostForm() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use $this->submitForm() instead.
1 1 50 Twig API The spaceless tag in "modules/contrib/paragraphs/templates/paragraphs-dropbutton-wrapper.html.twig" at line 16 is deprecated since Twig 2.7, use the "spaceless" filter with the "apply" tag instead. See https://drupal.org/node/3071078.
1 1 50 Twig API The spaceless tag in "modules/contrib/paragraphs/templates/paragraphs-summary.html.twig" at line 20 is deprecated since Twig 2.7, use the "spaceless" filter with the "apply" tag instead. See https://drupal.org/node/3071078.
1 1 50 Frontend API The 'drupal.paragraphs.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
1 1 50 Frontend API The 'drupal.paragraphs.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
1 1 50 Frontend API The 'drupal.paragraphs.add_above_button' 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 1 50 Frontend API The 'drupal.paragraphs.actions' 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 1 50 Frontend API The 'drupal.paragraphs.modal' 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
63 31 50 Info.yml or composer.json Value of core_version_requirement: ^9.2 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
37 15 50 Drupal API, rector covered Call to deprecated method assert() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertTrue() instead.
1 1 50 Symfony API Parameter $event of method Drupal​\​webform_entity_print​\​EventSubscriber​\​WebformEntityPrintRequestSubscriber::requestSetViewMode() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseEvent: since Symfony 4.3, use RequestEvent instead
833 103 50 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.


Results are from dataset #134 from 2022-06-23T16:14. Report is ran by the Drupal Association regularly.