entity_reference_preview 1.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
entity_reference_preview 1.x-dev Module 7 10000 e0ipso
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
6 2817 239 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.
1 4457 3766 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.
1 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.
1 366 41 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.
1 70 23 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.
1 2 2 Symfony API Fetching class constant class of deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseEvent: since Symfony 4.3, use RequestEvent instead
1 1 1 Symfony API Parameter $event of method Drupal​\​entity_reference_preview​\​Events​\​PreviewNegotiationSubscriber::setPreview() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​GetResponseEvent: since Symfony 4.3, use RequestEvent instead


Results are from dataset #8310 from 2022-11-27T17:12. Report is ran by the Drupal Association regularly.