php drupal-check.phar modules/contrib/forum_access/
11/11 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ---------------------------------------
Line forum_access.module
------ ---------------------------------------
451 Call to deprecated function db_or().
453 Call to deprecated function db_and().
------ ---------------------------------------
------ ---------------------------------------------------
Line forum_access_migrate/forum_access_migrate.install
------ ---------------------------------------------------
13 Call to deprecated function db_delete().
------ ---------------------------------------------------
------ ---------------------------------------------------------------------------------------------------
Line forum_access_migrate/src/Plugin/migrate/destination/ForumAccess.php
------ ---------------------------------------------------------------------------------------------------
Class Drupal\migrate_plus\Plugin\migrate\destination\Table not found and could not be autoloaded.
------ ---------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------
Line includes/forum_access.admin.inc
------ ------------------------------------------------------------
95 Call to deprecated method entityManager() of class Drupal.
119 Call to deprecated method entityManager() of class Drupal.
138 Call to deprecated function drupal_set_message().
142 Call to deprecated function drupal_set_message().
------ ------------------------------------------------------------
[ERROR] Found 8 errors| Comment | File | Size | Author |
|---|---|---|---|
| #2 | deprecated-3081936-2.patch | 3.15 KB | sergiu stici |
Comments
Comment #2
sergiu stici commentedHere is the patch, please review.
Comment #5
salvisThank you, Sergiu Stici!
(I moved the
use Drupal\Core\Database\Query\Condition;line — they should be ordered alphabetically.)