1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ ----------------------------------------------------------------------
Line signature.module
------ ----------------------------------------------------------------------
25 Call to deprecated method url() of class Drupal:
as of Drupal 8.0.x, will be removed before Drupal 9.0.0.
Instead create a \Drupal\Core\Url object directly, for example using
Url::fromRoute().
------ ----------------------------------------------------------------------

[ERROR] Found 1 error

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joy29 created an issue. See original summary.

joy29’s picture

Issue summary: View changes
FileSize
1.58 KB

deprecated method removed..

joy29’s picture

Assigned: joy29 » Unassigned
Status: Active » Needs review
andypost’s picture

Status: Needs review » Needs work

I bet it needs toString for url object, just visit module"s help

joy29’s picture

FileSize
1.6 KB

updated patch

joy29’s picture

Status: Needs work » Needs review
andypost’s picture

Status: Needs review » Reviewed & tested by the community

Gonna commit it soon

  • andypost committed 9fb9673 on 8.x-1.x authored by joy29
    Issue #3088200 by joy29: deprecated Url method() used
    
andypost’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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