Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Category Sort descending Message
107 90 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().
792 385 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.
34 17 50 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.
7 6 50 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.
1 1 50 Drupal API, not rector covered Call to deprecated constant FILE_INSECURE_EXTENSION_REGEX: Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​File​\​FileSystemInterface::INSECURE_EXTENSION_REGEX.
53 24 50 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
7 4 50 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.
5 1 50 Drupal API, not rector covered Call to deprecated method verbose() of class Drupal​\​Tests​\​webform​\​Functional​\​WebformBrowserTestBase. 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 Passing context values to plugins via configuration is deprecated in drupal:9.1.0 and will be removed before drupal:10.0.0. Instead, call ::setContextValue() on the plugin itself. See https://www.drupal.org/node/3120980
49 26 50 Drupal API, not rector covered The #drupal-off-canvas selector is deprecated in drupal:9.5.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/3305664.
335 268 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.
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 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.
23 16 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.
61 16 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.
118 10 200 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.
51 35 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.
20 17 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.
15 10 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.
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.
17 13 500 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.
15 9 500 Drupal API, not rector covered Symfony​\​Component​\​HttpFoundation​\​RequestStack::getMasterRequest() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0 for Symfony 6 compatibility. Use the forward compatibility shim class Drupal​\​Core​\​Http​\​RequestStack and its getMainRequest() method instead.
70 23 500 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.
4 4 500 Drupal API, not rector covered Call to deprecated method isSubclassOf() of class Drupal​\​Core​\​Entity​\​EntityTypeInterface. Deprecated in drupal:8.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Entity​\​EntityTypeInterface::entityClassImplements() instead.
18 4 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.
52 43 500 Drupal API, not rector covered Using config schema as a fallback for a missing `config_export` definition is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. See https://www.drupal.org/node/2949023.
1 1 500 Drupal API, not rector covered Call to deprecated method mimeHeaderDecode() of class Drupal​\​Component​\​Utility​\​Unicode. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use iconv_mime_decode() instead.
9 6 1000 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
1 1 1000 Drupal API, not rector covered Call to deprecated method isNewRevision() of class Drupal​\​config_entity_revisions​\​Entity​\​ConfigEntityRevisionsType. Deprecated in Drupal 8.3.0 and will be removed before Drupal 9.0.0. Use Drupal​\​Core​\​Entity​\​RevisionableEntityBundleInterface::shouldCreateNewRevision() instead.
1 1 1000 Drupal API, not rector covered Call to deprecated method getAvailableContexts() of class Drupal​\​layout_builder_browser​\​Controller​\​BrowserController. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​layout_builder​\​Context​\​LayoutBuilderContextTrait::getPopulatedContexts() instead.


Results are from dataset #8203 from 2022-11-20T16:30. Report is ran by the Drupal Association regularly.