Giter VIP home page Giter VIP logo

Comments (3)

markfullmer avatar markfullmer commented on May 28, 2024

Output of automated deprecation checking (not too bad):

 ------ -------------------------------------------------------------------------- 
  Line   corpus_importer/src/DeDupeHelper.php                                      
 ------ -------------------------------------------------------------------------- 
  37     Call to deprecated method entityManager() of class Drupal:                
         in drupal:8.0.0 and is removed from drupal:9.0.0.                         
         Use \Drupal::entityTypeManager() instead in most cases. If the needed     
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the  
         deprecated \Drupal\Core\Entity\EntityManager to find the                  
         correct interface or service.                                             
 ------ -------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------- 
  Line   corpus_importer/src/ImporterHelper.php                                    
 ------ -------------------------------------------------------------------------- 
  263    Call to deprecated method entityManager() of class Drupal:                
         in drupal:8.0.0 and is removed from drupal:9.0.0.                         
         Use \Drupal::entityTypeManager() instead in most cases. If the needed     
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the  
         deprecated \Drupal\Core\Entity\EntityManager to find the                  
         correct interface or service.                                             
  292    Call to deprecated method entityManager() of class Drupal:                
         in drupal:8.0.0 and is removed from drupal:9.0.0.                         
         Use \Drupal::entityTypeManager() instead in most cases. If the needed     
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the  
         deprecated \Drupal\Core\Entity\EntityManager to find the                  
         correct interface or service.                                             
 ------ -------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------- 
  Line   corpus_importer/src/ImporterService.php                                          
 ------ --------------------------------------------------------------------------------- 
  81     Call to deprecated function drupal_set_message():                                
         in drupal:8.5.0 and is removed from drupal:9.0.0.                                
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.             
  416    Call to deprecated constant FILE_CREATE_DIRECTORY: Deprecated in drupal:8.7.0    
         and is removed from drupal:9.0.0. Use                                            
         \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY.                         
  416    Call to deprecated function file_prepare_directory():                            
         in drupal:8.7.0 and is removed from drupal:9.0.0.                                
         Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().                   
  417    Call to deprecated constant FILE_EXISTS_REPLACE: Deprecated in drupal:8.7.0 and  
         is removed from drupal:9.0.0. Use                                                
         \Drupal\Core\File\FileSystemInterface::EXISTS_REPLACE.                           
  432    Call to deprecated function drupal_set_message():                                
         in drupal:8.5.0 and is removed from drupal:9.0.0.                                
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.             
  435    Call to deprecated function drupal_set_message():                                
         in drupal:8.5.0 and is removed from drupal:9.0.0.                                
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.             
  438    Call to deprecated function drupal_set_message():                                
         in drupal:8.5.0 and is removed from drupal:9.0.0.                                
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.             
 ------ --------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------- 
  Line   custom/content_type_resource/content_type_resource.module                        
 ------ --------------------------------------------------------------------------------- 
  27     Call to deprecated constant FILE_CREATE_DIRECTORY: Deprecated in drupal:8.7.0    
         and is removed from drupal:9.0.0. Use                                            
         \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY.                         
  27     Call to deprecated function file_prepare_directory():                            
         in drupal:8.7.0 and is removed from drupal:9.0.0.                                
         Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().                   
  28     Call to deprecated constant FILE_EXISTS_REPLACE: Deprecated in drupal:8.7.0 and  
         is removed from drupal:9.0.0. Use                                                
         \Drupal\Core\File\FileSystemInterface::EXISTS_REPLACE.                           
 ------ --------------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------- 
  Line   custom/corpus_search/src/Controller/CorpusSearch.php                         
 ------ ----------------------------------------------------------------------------- 
  53     Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is  
         removed from drupal:9.0.0. Use \Drupal::time()->getRequestTime();            
 ------ ----------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------- 
  Line   custom/corpus_search/src/SearchService.php                                   
 ------ ----------------------------------------------------------------------------- 
  29     Call to deprecated function db_like():                                       
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,                   
         get a database connection injected into your service from the container      
         and call escapeLike() on it. For example,                                    
  37     Call to deprecated function db_like():                                       
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,                   
         get a database connection injected into your service from the container      
         and call escapeLike() on it. For example,                                    
  44     Call to deprecated function db_like():                                       
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,                   
         get a database connection injected into your service from the container      
         and call escapeLike() on it. For example,                                    
  47     Call to deprecated function db_like():                                       
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,                   
         get a database connection injected into your service from the container      
         and call escapeLike() on it. For example,                                    
  58     Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is  
         removed from drupal:9.0.0. Use \Drupal::time()->getRequestTime();            
  191    Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is  
         removed from drupal:9.0.0. Use \Drupal::time()->getRequestTime();            
 ------ ----------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------- 
  Line   custom/corpus_search/src/TextMetadata.php                                    
 ------ ----------------------------------------------------------------------------- 
  60     Call to deprecated constant REQUEST_TIME: Deprecated in drupal:8.3.0 and is  
         removed from drupal:9.0.0. Use \Drupal::time()->getRequestTime();            
 ------ ----------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------- 
  Line   word_frequency/src/FrequencyService.php                                  
 ------ ------------------------------------------------------------------------- 
  40     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  50     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  53     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  98     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  108    Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  111    Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  210    Call to deprecated function drupal_set_message():                        
         in drupal:8.5.0 and is removed from drupal:9.0.0.                        
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.     
  322    Call to deprecated function drupal_set_message():                        
         in drupal:8.5.0 and is removed from drupal:9.0.0.                        
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.     
  325    Call to deprecated function drupal_set_message():                        
         in drupal:8.5.0 and is removed from drupal:9.0.0.                        
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.     
  328    Call to deprecated function drupal_set_message():                        
         in drupal:8.5.0 and is removed from drupal:9.0.0.                        
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead. 

from crow_backend.

markfullmer avatar markfullmer commented on May 28, 2024

Remaining deprecations that will need to be manually fixed after the commit of #23 👍

 ------ ------------------------------------------------------------------------------ 
  Line   corpus/corpus.install                                                         
 ------ ------------------------------------------------------------------------------ 
  30     Call to deprecated constant USER_REGISTER_ADMINISTRATORS_ONLY: Deprecated in  
         drupal:8.3.0 and is removed from drupal:9.0.0. Use                            
         \Drupal\user\UserInterface::REGISTER_ADMINISTRATORS_ONLY instead.             
 ------ ------------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------- 
  Line   corpus/modules/custom/corpus_search/src/SearchService.php                
 ------ ------------------------------------------------------------------------- 
  29     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  37     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  44     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  47     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
 ------ ------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------- 
  Line   corpus/modules/word_frequency/src/FrequencyService.php                   
 ------ ------------------------------------------------------------------------- 
  40     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  50     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  53     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  98     Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  108    Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example,                                
  111    Call to deprecated function db_like():                                   
         in drupal:8.0.0 and is removed from drupal:9.0.0. Instead,               
         get a database connection injected into your service from the container  
         and call escapeLike() on it. For example, 

from crow_backend.

markfullmer avatar markfullmer commented on May 28, 2024

This has been resolved through #20 and elsewhere.

from crow_backend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.