islandora 2.4.1 Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
islandora 2.4.1 Module 2 10000 community-islandora, kirsta, rosiel, whikloj
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
18 2820 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.
13 14 2 Symfony API Fetching class constant class of deprecated class Symfony​\​Component​\​HttpFoundation​\​File​\​MimeType​\​MimeTypeGuesserInterface: since Symfony 4.3, use {@link MimeTypesInterface} instead
10 4487 3783 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.
8 792 385 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. See https://www.drupal.org/node/3201242.
5 107 90 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().
3 15 9 Drupal API, not rector covered Symfony​\​Component​\​HttpFoundation​\​RequestStack::getMasterRequest() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0 for Symfony 6 compatibility. Use the forward compatibility shim class Drupal​\​Core​\​Http​\​RequestStack and its getMainRequest() method instead.
2 3 2 Guzzle API Call to deprecated function GuzzleHttp​\​Psr7​\​parse_header(): parse_header will be removed in guzzlehttp/psr7:2.0. Use Header::parse instead.
1 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.
1 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.
1 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.
1 121 82 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.
1 280 151 Symfony API Class [redacted] extends deprecated class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead
1 15 15 Drupal API, not rector covered Providing context definitions via the "context" key is deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. Use the "context_definitions" key instead.
1 3 3 Guzzle API Call to deprecated function GuzzleHttp​\​Psr7​\​stream_for(): stream_for will be removed in guzzlehttp/psr7:2.0. Use Utils::streamFor instead.
1 1 1 Symfony API Parameter $event of method Drupal​\​islandora​\​EventSubscriber​\​LinkHeaderSubscriber::onResponse() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​FilterResponseEvent: since Symfony 4.3, use ResponseEvent instead
1 1 1 Symfony API Parameter $event of method Drupal​\​islandora​\​EventSubscriber​\​MediaLinkHeaderSubscriber::onResponse() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​FilterResponseEvent: since Symfony 4.3, use ResponseEvent instead
1 1 1 Symfony API Parameter $event of method Drupal​\​islandora​\​EventSubscriber​\​NodeLinkHeaderSubscriber::onResponse() has typehint with deprecated class Symfony​\​Component​\​HttpKernel​\​Event​\​FilterResponseEvent: since Symfony 4.3, use ResponseEvent instead
1 1 1 Symfony API Parameter $mime_type_guesser of method Drupal​\​islandora​\​Flysystem​\​Adapter​\​FedoraAdapter::__construct() has typehint with deprecated interface Symfony​\​Component​\​HttpFoundation​\​File​\​MimeType​\​MimeTypeGuesserInterface: since Symfony 4.3, use {@link MimeTypesInterface} instead
1 1 1 Symfony API Parameter $mime_type_guesser of method Drupal​\​islandora​\​Flysystem​\​Fedora::__construct() has typehint with deprecated interface Symfony​\​Component​\​HttpFoundation​\​File​\​MimeType​\​MimeTypeGuesserInterface: since Symfony 4.3, use {@link MimeTypesInterface} instead


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