Drupal 10 deprecation errors

Filter errors
All occurences Sort ascending Affected projects Occurs in a top X project by usage Category Message
3128 2692 100 Info.yml or composer.json Value of core_version_requirement: ^8 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
2561 71 500 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.
2107 137 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.
1463 11 500 Drupal API, rector covered Call to deprecated method assertIdentical() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertSame() instead.
1136 52 500 Drupal API, rector covered Call to deprecated method assertEqual() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertEquals() instead.
981 474 100 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.
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.
701 549 100 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.
568 324 100 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.
511 91 1000 Drupal API, rector covered Call to deprecated method assertResponse() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->statusCodeEquals() instead.
428 27 1000 Drupal API, rector covered Call to deprecated method assertFieldByName() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->fieldExists() or $this->assertSession()->buttonExists() or $this->assertSession()->fieldValueEquals() instead.
386 386 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.
334 39 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.
290 25 500 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.
262 22 10000 Drupal API, rector covered Call to deprecated method assertEqual() of class Drupal​\​KernelTests​\​KernelTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertEquals() instead.
247 116 500 Drupal API, rector covered Call to deprecated function render(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​Core​\​Render​\​RendererInterface::render() 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.
219 11 1000 Drupal API, rector covered Call to deprecated method assertFieldChecked() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->checkboxChecked() instead.
203 165 200 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.
170 89 500 Symfony API Class [redacted] extends deprecated class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead
161 10 1000 Drupal API, rector covered Call to deprecated method assertNoFieldChecked() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->checkboxNotChecked() instead.
151 121 200 Info.yml or composer.json Value of core_version_requirement: ^8.7.7 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
135 17 50 Info.yml or composer.json Value of core_version_requirement: ^9.3 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
122 82 1000 Info.yml or composer.json Value of core_version_requirement: ^8.9 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
118 29 50 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
111 4 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.
94 66 500 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.
80 59 1000 Drupal API, rector covered Call to deprecated function file_save_data(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileRepositoryInterface::writeData() instead.
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().
79 53 500 Info.yml or composer.json Add core_version_requirement: ^9 || ^10 to designate that the extension is compatible with Drupal 10. See https://drupal.org/node/3070687.


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