photos 4.x-dev Drupal 10 deprecation details

Name and release Project type Usage count Top X project by usage Maintainers
photos 4.x-dev Module 1118 10000 eastcn, Kliwo, Nathaniel
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
2 125 97 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().
2 866 482 Drupal API, rector covered Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on ​\​Drupal​\​Core​\​File​\​FileUrlGeneratorInterface instead.
2 1071 856 Info.yml or composer.json Value of core_version_requirement: ^8.8 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
2 3402 280 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 1598 757 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 127 87 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 16 14 Drupal API, rector covered Call to deprecated function file_move(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal​\​file​\​FileRepositoryInterface::move() instead.
1 1 1 Frontend API The 'photos.jeditable' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256
1 1 1 Frontend API The module is defining "photos_theme_photos_comment_count" theme function. Theme functions are deprecated. For more info, see https://www.drupal.org/node/2575445.
1 1 1 Frontend API The module is defining "photos_theme_photos_block" theme function. Theme functions are deprecated. For more info, see https://www.drupal.org/node/2575445.


Results are from dataset #150 from 2022-09-25T12:04. Report is ran by the Drupal Association regularly.