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
CommentFileSizeAuthor
#2 deprecated-3081936-2.patch3.15 KBsergiu stici

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new3.15 KB

Here is the patch, please review.

Status: Needs review » Needs work

The last submitted patch, 2: deprecated-3081936-2.patch, failed testing. View results

  • salvis committed 209a82c on 8.x-1.x
    Issue #3081936 by Sergiu Stici: Deprecated Code Report.
    
salvis’s picture

Status: Needs work » Fixed

Thank you, Sergiu Stici!

(I moved the use Drupal\Core\Database\Query\Condition; line — they should be ordered alphabetically.)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.