Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Category Sort descending Message
79 69 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().
862 357 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.
26 12 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.
35 17 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
1 1 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
34 19 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.
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.
56 11 500 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.
27 23 500 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.
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.
246 205 500 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.
12 8 500 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.
53 15 1000 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.
11 8 1000 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
8 1 1000 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.
9 6 1000 Drupal API, not rector covered Call to deprecated function debug(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
9 8 1000 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.
14 12 10000 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.
2 1 10000 Drupal API, not rector covered Call to deprecated method assertRaw() of class Drupal​\​nodeviewcount​\​Tests​\​NodeViewCountBaseFunctionalityTest. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseContains() instead.
2 1 10000 Drupal API, not rector covered Call to deprecated method assertNoRaw() of class Drupal​\​nodeviewcount​\​Tests​\​NodeViewCountBaseFunctionalityTest. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseNotContains() instead.
7 1 10000 Drupal API, not rector covered Call to deprecated method assertFieldChecked() of class Drupal​\​nodeviewcount​\​Tests​\​NodeViewCountTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->checkboxChecked() instead.
3 1 10000 Drupal API, not rector covered Call to deprecated method assertNoFieldChecked() of class Drupal​\​nodeviewcount​\​Tests​\​NodeViewCountTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->checkboxNotChecked() instead.
4 1 10000 Drupal API, not rector covered Call to deprecated method assertNoFieldById() of class Drupal​\​nodeviewcount​\​Tests​\​NodeViewCountTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->fieldNotExists() or $this->assertSession()->buttonNotExists() or $this->assertSession()->fieldValueNotEquals() instead.
2 1 10000 Drupal API, not rector covered Call to deprecated method assertOptionSelected() of class Drupal​\​nodeviewcount​\​Tests​\​NodeViewCountTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->optionExists() instead and check the "selected" attribute yourself.
4 1 10000 Drupal API, not rector covered Call to deprecated method assertFieldByXPath() of class Drupal​\​nodeviewcount​\​Tests​\​NodeViewCountTestBase. 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.
8 7 10000 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.


Results are from dataset #11691 from 2023-05-28T14:39. Report is ran by the Drupal Association regularly.