field_collection 4.0.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
field_collection 4.0.x-dev Module 5637 500 nedjo, fago, larowlan, ram4nd, jmuzz, renatog
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 10compatibility issues
Filter errors
Occurrence in project Sort ascending All occurrences Affected projects Category Error
13 354 27 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.
7 220 35 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.
5 46 6 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.
2 387 74 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.
2 3 2 Drupal API, rector covered Call to deprecated method assertFieldById() 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.
1 3025 2592 Info.yml or composer.json Value of core_version_requirement is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
1 502 227 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.
1 1 1 Other problem Property Drupal​\​field_collection​\​Tests​\​FieldCollectionRESTTest::$modules property must be protected.
1 1 1 Other problem Property Drupal​\​Tests​\​field_collection​\​Functional​\​FieldCollectionBasicTestCase::$modules property must be protected.
1 10 5 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 173 146 Drupal API, 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.
1 1 1 Other problem Property Drupal​\​Tests​\​field_collection​\​FunctionalJavascript​\​FieldCollectionAjaxTest::$modules property must be protected.
1 1 1 Other problem Property Drupal​\​Tests​\​field_collection​\​Kernel​\​DuplicateFieldCollectionTest::$modules property must be protected.


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