filefield_sources 8.x-1.0-alpha5 Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
filefield_sources 8.x-1.0-alpha5 Module 10348 500 quicksketch, profak, gnuget
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
15 371 69 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.
10 12 3 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.
7 17 5 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.
7 342 26 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.
6 8 3 Drupal API, rector covered Call to deprecated method assertLink() of class Drupal​\​Tests​\​BrowserTestBase. Deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->linkExists() instead.
2 4 3 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.
1 5 3 Symfony API Class [redacted] implements deprecated interface Symfony​\​Component​\​HttpFoundation​\​File​\​MimeType​\​MimeTypeGuesserInterface: since Symfony 4.3, use {@link MimeTypesInterface} instead
1 48 12 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.
1 218 33 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.
1 1 1 Other problem Property Drupal​\​Tests​\​filefield_sources​\​Functional​\​EmptyValuesTest::$modules property must be protected.
1 1 1 Other problem Property Drupal​\​Tests​\​filefield_sources​\​Functional​\​FileFieldSourcesTestBase::$modules property must be protected.
1 59 57 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().
1 1 1 Other problem Property Drupal​\​Tests​\​filefield_sources​\​Functional​\​ImceSourceTest::$modules property must be protected.
1 1 1 Other problem Property Drupal​\​Tests​\​filefield_sources​\​Functional​\​MultipleValuesTest::$modules property must be protected.
1 2990 2566 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 241 241 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.


Results are from dataset #58581 from 2023-12-03T12:36. Report is ran by the Drupal Association regularly.