examples 3.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
examples 3.x-dev Module 731 10000 add1sun, bdragon, chx, cweagans, cyberswat, Dave Reid, drewish, ilo, Itangalo, jn2, jungle, katbailey, LeeHunter, linclark, litwol, marvil07, mikl, Mile23, rfay, RobLoach, socketwench, Torenware, valthebald, yched
Status Next step Instructions Drupal.org issues
Fix deprecation errors found Run Rector to fix some errors Some of the errors found are covered by drupal-rector automation (thanks to Palantir.net funding), which should be used to speed up resolving them. Check out the Project Update Bot patch in the issue queue. Get the automated fix committed first and resolve the manual problems afterwards. Drupal 10 compatibility issues
Filter errors
Occurrence in project Sort ascending All occurrences Affected projects Category Error
35 291 194 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.
13 2889 122 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.
6 54 19 Drupal API, rector covered Call to deprecated method assertLinkByHref() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->linkByHrefExists() instead.
5 594 68 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.
5 57 3 Drupal API, not rector covered Call to deprecated method assertFieldsByValue() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.3.0 and is removed from drupal:10.0.0. Use iteration over the fields yourself instead and directly check the values in the test.
4 1530 90 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.
4 903 156 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.
4 367 42 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.
3 25 21 Symfony API Call to deprecated method stopPropagation() of class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead
2 1415 681 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.
2 28 17 Drupal API, rector covered Call to deprecated method assertNotEqual() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. Use $this->assertNotEquals() instead.
2 26 11 Drupal API, rector covered Call to deprecated method assertPattern() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->responseMatches() instead.
1 164 46 PHPUnit API Call to deprecated method setMethods() of class PHPUnit​\​Framework​\​MockObject​\​MockBuilder: https://github.com/sebastianbergmann/phpunit/pull/3687
1 118 10 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.
1 280 151 Symfony API Class [redacted] extends deprecated class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead


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