php drupal-check.phar modules/contrib/legal/
20/20 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ----------------------------------------------------
Line legal.module
------ ----------------------------------------------------
294 Call to deprecated function drupal_get_messages().
299 Call to deprecated function drupal_set_message().
605 Call to deprecated function db_select().
674 Call to deprecated function db_select().
685 Call to deprecated function db_select().
714 Call to deprecated function db_select().
716 Call to deprecated function db_or().
718 Call to deprecated function db_and().
794 Call to deprecated function db_select().
810 Call to deprecated function db_select().
859 Call to deprecated function drupal_set_message().
------ ----------------------------------------------------
------ ---------------------------------------------------
Line src/Form/LegalAdminSettingsForm.php
------ ---------------------------------------------------
89 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ ---------------------------------------------------
Line src/Form/LegalAdminTermsForm.php
------ ---------------------------------------------------
404 Call to deprecated function drupal_set_message().
------ ---------------------------------------------------
------ --------------------------------------------------------------------------------------
Line src/Form/LegalLanguageSettings.php
------ --------------------------------------------------------------------------------------
35 Call to deprecated method checkPlain() of class Drupal\Component\Utility\SafeMarkup.
35 Call to method checkPlain() of deprecated class Drupal\Component\Utility\SafeMarkup.
66 Call to deprecated function db_select().
77 Call to deprecated function db_select().
93 Call to deprecated function db_select().
------ --------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------
Line tests/src/Functional/LegalTestBase.php
------ ---------------------------------------------------------------------------
83 Call to deprecated method getUsername() of class Drupal\user\Entity\User.
------ ---------------------------------------------------------------------------
------ --------------------------------------------
Line tests/src/Functional/PasswordResetTest.php
------ --------------------------------------------
29 Call to deprecated function db_update().
------ --------------------------------------------
[ERROR] Found 20 errors| Comment | File | Size | Author |
|---|---|---|---|
| #2 | deprecated-3086697-2.patch | 8.95 KB | sergiu stici |
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #4
robert castelo commented