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.
drupal-check results on commit hash:
source : [git] https://git.drupal.org/project/checklistapi 8c2928a836ef43a255e9fd82c5dab7cc7ec4cd5c
source : http://cgit.drupalcode.org/checklistapi
------ --------------------------------------------------
Line checklistapi.drush.inc
------ --------------------------------------------------
146 Call to deprecated function format_date().
147 Call to deprecated method getUsername() of class
Drupal\user\Entity\User.
------ --------------------------------------------------
------ ---------------------------------------------------
Line src/ChecklistapiChecklist.php
------ ---------------------------------------------------
124 Call to deprecated method substr() of class
Drupal\Component\Utility\Unicode.
147 Call to deprecated function drupal_set_message().
181 Call to deprecated method getUsername() of class
Drupal\user\Entity\User.
197 Call to deprecated function format_date().
311 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Controller/ChecklistapiController.php
------ ---------------------------------------------------
46 Call to deprecated function drupal_placeholder().
46 Call to deprecated method l() of class
Drupal\Core\Controller\ControllerBase.
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/ChecklistapiChecklistForm.php
------ ---------------------------------------------------
87 Call to deprecated function format_date().
88 Call to deprecated method getUsername() of class
Drupal\user\Entity\User.
107 Call to deprecated method l() of class Drupal.
159 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
[ERROR] Found 13 errors
Comment | File | Size | Author |
---|---|---|---|
#3 | update_deprecated_code-3042760-3.patch | 6.77 KB | Sergiu Stici |
Comments
Comment #2
TravisCarden CreditAttribution: TravisCarden as a volunteer commentedThank you very kindly, @mcdwayne. How nice to see someone from Pantheon in my queue. :) If you're interested in commit credit, I would be very happy to review a patch. If not--I appreciate the report--I'll get to it when I'm able to.
Comment #3
Sergiu Stici CreditAttribution: Sergiu Stici at FFW commentedHere is the patch, please review.
Comment #4
TravisCarden CreditAttribution: TravisCarden as a volunteer commentedNicely done, @Sergiu Stici--thanks! Committing with a few changes. (See interdiff.txt.)
Comment #6
TravisCarden CreditAttribution: TravisCarden as a volunteer commented