Todo: Run a deprecated code report for Guardr.

Comments

DamienMcKenna created an issue. See original summary.

anthonyf’s picture

Assigned: Unassigned » anthonyf

I'll run the deprecated code report for Guardr distro codebase.

damienmckenna’s picture

Assigned: anthonyf » Unassigned
Issue tags: +Drupal 9 compatibility
akshay_d’s picture

Status: Active » Needs review
StatusFileSize
new1.46 KB

Resolved the PHP standard errors and warnings. also created the patch, please review

damienmckenna’s picture

StatusFileSize
new880 bytes
new2.1 KB

This updates the info file and fixes one new error:

$ drupal-check *
 4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ----------------------------------------------------------------------------- 
  Line   tests/src/Functional/GuardrTest.php                                          
 ------ ----------------------------------------------------------------------------- 
  20     Usage of deprecated trait Drupal\config\Tests\SchemaCheckTestTrait in class  
         Drupal\Tests\guardr\Functional\GuardrTest:                                   
         in drupal:8.3.0 and is removed from drupal:9.0.0. Use                        
         \Drupal\Tests\SchemaCheckTestTrait instead.                                  
 ------ ----------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 1 error 
shrop’s picture

Assigned: Unassigned » shrop

  • shrop committed d1dfa02 on 8.x-1.x authored by DamienMcKenna
    Issue #3111071 by DamienMcKenna, akshay_d: Drupal 9 deprecated code...
shrop’s picture

Status: Needs review » Fixed

Committed changes and confirmed that the Guardr Project 8.x-test builds are working with this commit.

Build passed: https://travis-ci.com/github/guardrdistro/guardr-project/builds/162469723

shrop’s picture

Issue tags: +Drupal 9 porting day

Status: Fixed » Closed (fixed)

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