Drupal 10 deprecation errors

Filter errors
All occurences Affected projects Occurs in a top X project by usage Category Sort descending Message
4 3 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.
12 3 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 5 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.
62 59 500 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().
502 227 500 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.
31 19 1000 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.
8 3 1000 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.
14 8 1000 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
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.
11 11 10000 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.
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.
4 4 10000 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.
5 2 10000 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.
31 9 10000 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.
3 1 10000 Drupal API, not rector covered Call to deprecated method verbose() of class Drupal​\​KernelTests​\​KernelTestBase. Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use dump() instead.
7 3 10000 Drupal API, not rector covered Call to deprecated function drupal_get_module_schema(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided. Testing classes could use Drupal​\​TestTools​\​Extension​\​SchemaInspector for introspection.
6 2 10000 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.
13 10 10000 Drupal API, not rector covered Providing context definitions via the "context" key is deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. Use the "context_definitions" key instead.
5 2 10000 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.
34 26 10000 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 10000 Drupal API, not rector covered Call to deprecated method getAvailableContexts() of class Drupal​\​layout_builder​\​Controller​\​ChooseBlockController. Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​layout_builder​\​Context​\​LayoutBuilderContextTrait::getPopulatedContexts() instead.
13 8 10000 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.
4 3 10000 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 10000 Drupal API, not rector covered Call to deprecated function _drupal_schema_initialize(). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided.
3 3 10000 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


Results are from dataset #55384 from 2023-11-26T12:31. Report is ran by the Drupal Association regularly.