php drupal-check.phar modules/contrib/google_cse/
 8/8 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ -------------------------------------------------- 
  Line   tests/src/Functional/GoogleCSEDisplayTest.php     
 ------ -------------------------------------------------- 
  105    Call to deprecated method url() of class Drupal.  
 ------ -------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 1 error

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

Status: Active » Needs review
StatusFileSize
new636 bytes

Here is the patch, please review.

Status: Needs review » Needs work

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

lreynaga’s picture

Status: Needs work » Needs review
StatusFileSize
new646 bytes

I just noticed this issue. I provided a patch for issue: https://www.drupal.org/project/google_cse/issues/3087715. I'm moving the patch here. It is very similar to #1, I', attaching it now.

  • lreynaga committed 6947bba on 8.x-3.x
    Issue #3086689 by sergiu-stici,lreynaga: Fix d9 deprecated code.
    
lreynaga’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

jenlampton’s picture

Title: Deprecated Code Report » Drupal 9 Deprecated Code Report
Issue tags: +Drupal 9 compatibility

Updating issue title and tags to make D9 status easier to search for.