Drupal 9 readiness

Created on 20 April 2020, over 4 years ago
Updated 11 October 2023, about 1 year ago

CONTRIBUTED PROJECTS
--------------------------------------------------------------------------------
File Field Replace 8.x-1.x-dev

4 errors found. 2 warnings found. Avoid some manual work by using drupal-rector
for fixing issues automatically or Upgrade Rector to generate patches.

C:\xampp\htdocs\d\drupal9\app\modules\contrib\file_field_replace\file_f
ield_replace.module:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Fix with │ 57 │ Call to deprecated constant FILE_EXISTS_RENAME: Deprecated │
│ rector │ │ in drupal:8.7.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\Core\File\FileSystemInterface::EXISTS_RENAME. │
│ │ │ │
│ Fix with │ 135 │ Call to deprecated constant FILE_EXISTS_RENAME: Deprecated │
│ rector │ │ in drupal:8.7.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\Core\File\FileSystemInterface::EXISTS_RENAME. │
│ │ │ │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

C:\xampp\htdocs\d\drupal9\app\modules\contrib\file_field_replace\src\El
ement\ManagedFilePlus.php:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Fix with │ 32 │ Call to deprecated constant FILE_EXISTS_RENAME: Deprecated │
│ rector │ │ in drupal:8.7.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\Core\File\FileSystemInterface::EXISTS_RENAME. │
│ │ │ │
│ Fix with │ 53 │ Call to deprecated constant FILE_EXISTS_RENAME: Deprecated │
│ rector │ │ in drupal:8.7.0 and is removed from drupal:9.0.0. Use │
│ │ │ Drupal\Core\File\FileSystemInterface::EXISTS_RENAME. │
│ │ │ │
│ Fix │ 97 │ Call to deprecated method hashEquals() of class │
│ later │ │ Drupal\Component\Utility\Crypt. Deprecated in drupal:8.8.0 │
│ │ │ and is removed from drupal:9.0.0. Use PHP's built-in │
│ │ │ hash_equals() function instead. │
│ │ │ │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

modules/contrib/file_field_replace/file_field_replace.info.yml:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│ STATUS │ LINE │ MESSAGE │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check │ 0 │ Add core_version_requirement: ^8 || ^9 to │
│ manually │ │ modules/contrib/file_field_replace/file_field_replace.info.y │
│ │ │ ml to designate that the module is compatible with Drupal 9. │
│ │ │ See https://drupal.org/node/3070687. │
│ │ │ │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

Above errors & warnings need to be fixed to make module compatible with Drupal 9.

📌 Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇺🇦Ukraine alexshipilov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024