Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
150/150 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ---------------------------------------------------------------------
Line modules/if_then_else_examples/if_then_else_examples.install
------ ---------------------------------------------------------------------
15 Call to deprecated function file_scan_directory():
in drupal:8.8.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystemInterface::scanDirectory() instead.
------ ---------------------------------------------------------------------
------ -------------------------------------------------------------------------
Line src/core/Nodes/Actions/GetEntityFieldAction/GetEntityFieldAction.php
------ -------------------------------------------------------------------------
144 Call to deprecated method url() of class Drupal\Core\Entity\EntityBase:
in drupal:8.0.0 and is removed from drupal:9.0.0.
Please use toUrl() instead.
145 Call to deprecated method url() of class Drupal\Core\Entity\EntityBase:
in drupal:8.0.0 and is removed from drupal:9.0.0.
Please use toUrl() instead.
------ -------------------------------------------------------------------------
------ ---------------------------------------------------------
Line src/core/Nodes/Values/DateTimeValue/DateTimeValue.php
------ ---------------------------------------------------------
87 Call to deprecated function drupal_get_user_timezone():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
date_default_timezone_get() instead.
91 Call to deprecated function drupal_get_user_timezone():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
date_default_timezone_get() instead.
97 Call to deprecated function drupal_get_user_timezone():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
date_default_timezone_get() instead.
103 Call to deprecated function drupal_get_user_timezone():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
date_default_timezone_get() instead.
------ ---------------------------------------------------------
[ERROR] Found 7 errors
Comment | File | Size | Author |
---|---|---|---|
#2 | removed-deprecated-code.patch | 3.54 KB | Sahana _N |
Comments
Comment #2
Sahana _N CreditAttribution: Sahana _N at Specbee commentedPlease review the patch.
Comment #3
akshay.kelotra CreditAttribution: akshay.kelotra commentedI have reviewed the changes and tested them. I will merge them.
Comment #5
neeravbm CreditAttribution: neeravbm at Red Crackle commented