------ ------------------------------------------------- 

 Line   akamai.drush.inc                                

 ------ ------------------------------------------------- 

  44     Call to deprecated function drush_get_option(). 

  45     Call to deprecated function drush_get_option(). 

  52     Call to deprecated function drush_print().       

  53     Call to deprecated function drush_print().       

  63     Call to deprecated function drush_get_option(). 

  64     Call to deprecated function drush_get_option(). 

  70     Call to deprecated function drush_print().       

  71     Call to deprecated function drush_print().       

 ------ ------------------------------------------------- 

 

 ------ ------------------------------------------------------------------------------- 

 Line   src/Controller/StatusLogController.php                                        

 ------ ------------------------------------------------------------------------------- 

  102    Call to deprecated method l() of class Drupal\Core\Controller\ControllerBase: 

         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.                       

         Use \Drupal\Core\Link instead.                                                 

  128    Call to deprecated method l() of class Drupal\Core\Controller\ControllerBase: 

         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.                       

         Use \Drupal\Core\Link instead.                                                 

  163    Call to deprecated method l() of class Drupal\Core\Controller\ControllerBase: 

         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.                       

         Use \Drupal\Core\Link instead.                                                 

 ------ ------------------------------------------------------------------------------- 

 

 ------ ------------------------------------------------------------------- 

 Line   src/Form/CacheControlForm.php                                     

 ------ ------------------------------------------------------------------- 

  85     Call to deprecated method l() of class Drupal\Core\Form\FormBase: 

         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.           

         Use \Drupal\Core\Link instead.                                     

 ------ ------------------------------------------------------------------- 

 

 ------ ------------------------------------------------------------------- 

 Line   src/Form/ConfigForm.php                                           

 ------ ------------------------------------------------------------------- 

  116    Call to deprecated method l() of class Drupal\Core\Form\FormBase: 

         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.           

         Use \Drupal\Core\Link instead.                                     

 ------ ------------------------------------------------------------------- 

 

                                                                                                                        

 [ERROR] Found 13 errors 
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pobster created an issue. See original summary.

pobster’s picture

Patch attached, zero deprecated commands found once applied. Note that I've just dropped the Drush<9 file, there's no point in keeping it?

Status: Needs review » Needs work

The last submitted patch, 2: akamai-3071396-deprecation-issues.patch, failed testing. View results

pobster’s picture

Okay ... this time...

pobster’s picture

Status: Needs work » Needs review
WidgetsBurritos’s picture

Status: Needs review » Reviewed & tested by the community

+1 RTBC

  • pobster committed 7db992d on 8.x-3.x
    Issue #3071396 by pobster: Deprecation issues
    
pobster’s picture

Status: Reviewed & tested by the community » Fixed
pobster’s picture

Assigned: pobster » Unassigned

Status: Fixed » Closed (fixed)

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

Kristen Pol’s picture

Issue tags: +Drupal 9 compatibility

Per a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.

pobster’s picture

Status: Closed (fixed) » Needs review
FileSize
8.28 KB
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   akamai.module                                                                                                                                  
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------- 
  25     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   src/StatusStorage.php                                                                                                                          
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------- 
  75     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   src/Tests/AkamaiCacheControlFormTest.php                                                                      
 ------ -------------------------------------------------------------------------------------------------------------- 
  14     Class Drupal\akamai\Tests\AkamaiCacheControlFormTest extends deprecated class Drupal\simpletest\WebTestBase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                                    
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                                   
  41     Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:                                     
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                                    
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                                   
 ------ -------------------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------- 
  Line   src/Tests/AkamaiConfigFormTest.php                                                                      
 ------ -------------------------------------------------------------------------------------------------------- 
  13     Class Drupal\akamai\Tests\AkamaiConfigFormTest extends deprecated class Drupal\simpletest\WebTestBase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                              
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                             
  33     Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:                               
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                              
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                             
 ------ -------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------ 
  Line   src/Tests/AkamaiHomepageTest.php                                                                      
 ------ ------------------------------------------------------------------------------------------------------ 
  14     Class Drupal\akamai\Tests\AkamaiHomepageTest extends deprecated class Drupal\simpletest\WebTestBase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                            
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                           
  48     Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:                             
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                            
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                           
 ------ ------------------------------------------------------------------------------------------------------ 

 ------ --------------------------------------------------------------------------------------------------------- 
  Line   src/Tests/AkamaiPurgeStatusTest.php                                                                      
 ------ --------------------------------------------------------------------------------------------------------- 
  12     Class Drupal\akamai\Tests\AkamaiPurgeStatusTest extends deprecated class Drupal\simpletest\WebTestBase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                               
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                              
  32     Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:                                
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                               
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                              
 ------ --------------------------------------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   src/Tests/AkamaiStatusLogTest.php                                                                                                              
 ------ ----------------------------------------------------------------------------------------------------------------------------------------------- 
  14     Class Drupal\akamai\Tests\AkamaiStatusLogTest extends deprecated class Drupal\simpletest\WebTestBase:                                          
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                                                                     
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                                                                    
  48     Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:                                                                      
         in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,                                                                                     
         use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.                                                                    
  71     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   tests/src/Kernel/KeyRepositoryUnavailableTest.php                                             
 ------ ---------------------------------------------------------------------------------------------- 
  40     Call to deprecated method setExpectedException() of class Drupal\KernelTests\KernelTestBase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0.                                             
         Backward compatibility for PHPUnit 4 will no longer be supported.                             
  48     Call to deprecated method setExpectedException() of class Drupal\KernelTests\KernelTestBase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0.                                             
         Backward compatibility for PHPUnit 4 will no longer be supported.                             
 ------ ---------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------- 
  Line   tests/src/Unit/AkamaiClientTest.php                                                   
 ------ -------------------------------------------------------------------------------------- 
  112    Call to deprecated method setExpectedException() of class Drupal\Tests\UnitTestCase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0.                                     
         Backward compatibility for PHPUnit 4 will no longer be supported.                     
  135    Call to deprecated method setExpectedException() of class Drupal\Tests\UnitTestCase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0.                                     
         Backward compatibility for PHPUnit 4 will no longer be supported.                     
  158    Call to deprecated method setExpectedException() of class Drupal\Tests\UnitTestCase:  
         in drupal:8.8.0 and is removed from drupal:9.0.0.                                     
         Backward compatibility for PHPUnit 4 will no longer be supported.                     
 ------ -------------------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 18 errors   
pobster’s picture

Let's try that again ...

WidgetsBurritos’s picture

It's not technically a deprecation, but so we can start running tests against D9, will you add this to the info.yml file as well? (see https://www.drupal.org/node/3070687)

core_version_requirement: ^8 || ^9
WidgetsBurritos’s picture

Status: Needs review » Needs work
pobster’s picture

Status: Needs work » Needs review
FileSize
8.8 KB

Updated.

WidgetsBurritos’s picture

Status: Needs review » Reviewed & tested by the community

+1 RTBC

WidgetsBurritos’s picture

  • pobster committed 0174f66 on 8.x-3.x
    Issue #3071396 by pobster, WidgetsBurritos: Deprecation issues
    
pobster’s picture

Status: Reviewed & tested by the community » Fixed

Marking as fixed ... for now ... until another wild deprecation appears!

Status: Fixed » Closed (fixed)

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