sir_trevor 2.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
sir_trevor 2.x-dev Module 3 10000 harrydeeson, legolasbo, markpavlitski, Pete B, ronald_istos
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
3 3 1 Other problem Call to deprecated method registerFile() of class Doctrine​\​Common​\​Annotations​\​AnnotationRegistry: This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0.
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 333 226 Info.yml or composer.json Value of core_version_requirement: ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
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 2 2 Symfony API Call to method getInstance() of deprecated class Symfony​\​Component​\​HttpFoundation​\​File​\​MimeType​\​ExtensionGuesser: since Symfony 4.3, use {@link MimeTypes} instead
1 1 1 Symfony API Parameter $event of method Drupal​\​Tests​\​sir_trevor​\​Unit​\​TestDoubles​\​EventDispatcherDummy::dispatch() has typehint with deprecated class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead
1 1 1 Symfony API Parameter $event of method Drupal​\​Tests​\​sir_trevor​\​Unit​\​TestDoubles​\​EventDispatcherMock::dispatch() has typehint with deprecated class Symfony​\​Component​\​EventDispatcher​\​Event: since Symfony 4.3, use "Symfony​\​Contracts​\​EventDispatcher​\​Event" instead
1 1 1 Symfony API Parameter $event of method Drupal​\​Tests​\​sir_trevor​\​Unit​\​TestDoubles​\​EventDispatcherSpy::dispatch() has typehint with 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.