Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Category Sort descending Message
818 415 50 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. See https://www.drupal.org/node/3201242.
125 97 50 Drupal API, not rector covered Call to deprecated constant FILE_STATUS_PERMANENT: Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileInterface::STATUS_PERMANENT or ​\​Drupal​\​file​\​FileInterface::setPermanent().
17 13 50 Drupal API, not rector covered The "app.root" service is deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. Use the app.root parameter instead. See https://www.drupal.org/node/3080612
152 12 50 Drupal API, not rector covered Call to deprecated method verbose() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
83 28 50 Drupal API, not rector covered Call to deprecated method assertArrayEquals() of class Drupal​\​Tests​\​UnitTestCase. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use ::assertEquals, ::assertEqualsCanonicalizing, or ::assertSame instead.
362 285 50 Drupal API, not 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.
19 15 100 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.
4 4 100 Drupal API, not rector covered Call to deprecated method findConfigEntityDependents() of class Drupal​\​Core​\​Config​\​ConfigManager. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Instead you should use ConfigManagerInterface::findConfigEntityDependencies().
3 1 100 Drupal API, not rector covered Call to deprecated method assertTitle() of class Drupal​\​Tests​\​page_manager_ui​\​FunctionalJavascript​\​PageManagerAdminTest. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->titleEquals() instead.
53 25 100 Drupal API, not rector covered Call to deprecated method toInt() of class Drupal​\​Component​\​Utility​\​Bytes. Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use Drupal​\​Component​\​Utility​\​Bytes::toNumber() instead
1 1 200 Drupal API, not rector covered Instantiation of deprecated class Drupal​\​Component​\​Bridge​\​ZfExtensionManagerSfContainer. Deprecated in drupal:9.4.0 and is removed from drupal:10.0.0. The class has moved to ​\​Drupal​\​aggregator​\​ZfExtensionManagerSfContainer.
3 3 200 Drupal API, not rector covered Call to deprecated function menu_list_system_menus(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​system​\​Entity​\​Menu::loadMultiple() instead.
25 18 200 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.
6 3 200 Drupal API, not rector covered Call to deprecated method formatDisplayName() of class Drupal​\​Component​\​Utility​\​Mail. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use ​\​Symfony​\​Component​\​Mime​\​Header​\​MailboxHeader instead.
32 17 200 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.
64 17 200 Drupal API, not rector covered Call to deprecated method assertFieldByXPath() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.3.0 and is removed from drupal:10.0.0. Use $this->xpath() instead and check the values directly in the test.
1 1 200 Drupal API, not rector covered Call to deprecated method getAvailableContexts() of class Drupal​\​layout_builder_restrictions​\​Form​\​FormAlter. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​layout_builder​\​Context​\​LayoutBuilderContextTrait::getPopulatedContexts() instead.
1 1 200 Drupal API, not rector covered Call to deprecated method getAvailableContexts() of class Drupal​\​layout_builder_restrictions​\​Plugin​\​LayoutBuilderRestrictionBase. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​layout_builder​\​Context​\​LayoutBuilderContextTrait::getPopulatedContexts() instead.
1 1 200 Drupal API, not rector covered Call to deprecated method getAvailableContexts() of class Drupal​\​layout_builder_restrictions​\​Plugin​\​LayoutBuilderRestriction​\​EntityViewModeRestriction. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​layout_builder​\​Context​\​LayoutBuilderContextTrait::getPopulatedContexts() instead.
1 1 200 Drupal API, not rector covered Call to deprecated method getAvailableContexts() of class Drupal​\​layout_builder_restrictions_by_region​\​Form​\​AllowedBlocksForm. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​layout_builder​\​Context​\​LayoutBuilderContextTrait::getPopulatedContexts() instead.
1 1 200 Drupal API, not rector covered Call to deprecated method getAvailableContexts() of class Drupal​\​layout_builder_restrictions_by_region​\​Form​\​FormAlter. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​layout_builder​\​Context​\​LayoutBuilderContextTrait::getPopulatedContexts() instead.
1 1 200 Drupal API, not rector covered Call to deprecated method getAvailableContexts() of class Drupal​\​layout_builder_restrictions_by_region​\​Plugin​\​LayoutBuilderRestriction​\​EntityViewModeRestrictionByRegion. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​layout_builder​\​Context​\​LayoutBuilderContextTrait::getPopulatedContexts() instead.
59 38 200 Drupal API, not rector covered Call to deprecated function user_password(). Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Password​\​PasswordGeneratorInterface::generate() instead.
21 18 200 Drupal API, not rector covered Call to deprecated function taxonomy_vocabulary_get_names(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal::entityQuery('taxonomy_vocabulary')->execute() instead.
20 13 500 Drupal API, not rector covered Call to deprecated function taxonomy_term_load_multiple_by_name(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal::entityTypeManager()->getStorage('taxonomy_vocabulary')->loadByProperties(['name' => $name, 'vid' => $vid]) instead, to get a list of taxonomy term entities having the same name and keyed by their term ID.
13 9 500 Drupal API, not rector covered The "site.path" service is deprecated in drupal:9.0.0 and is removed from drupal:10.0.0. Use the site.path parameter instead. See https://www.drupal.org/node/3080612
25 6 500 Drupal API, not rector covered Call to deprecated method drupalGetHeader() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use $this->getSession()->getResponseHeader() instead.
6 5 500 Drupal API, not rector covered Call to deprecated function file_munge_filename(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Dispatch a ​\​Drupal​\​Core​\​File​\​Event​\​FileUploadSanitizeNameEvent event instead.
16 5 500 Drupal API, not rector covered Call to deprecated method assertNoFieldByXPath() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.3.0 and is removed from drupal:10.0.0. Use $this->xpath() instead and assert that the result is empty.
12 11 500 Drupal API, not rector covered Call to deprecated function drupal_uninstall_schema(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided.


Results are from dataset #150 from 2022-09-25T12:04. Report is ran by the Drupal Association regularly.