urlInfo() is depreciated; and toUrl() method should be used instead of urlInfo().

And as per coding standard documentation at 'https://www.drupal.org/coding-standards/docs#file', @file tag docblock should not be there in the files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension.

CommentFileSizeAuthor
#3 poll-2743301-3.patch13.17 KBneerajsingh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

neerajsingh created an issue. See original summary.

neerajsingh’s picture

Assigned: Unassigned » neerajsingh
Status: Active » Needs work
neerajsingh’s picture

Assigned: neerajsingh » Unassigned
Status: Needs work » Needs review
FileSize
13.17 KB

Attaching the patch here..

Berdir’s picture

Status: Needs review » Fixed

Thanks, committed.

  • Berdir committed 121c0eb on 8.x-1.x authored by neerajsingh
    Issue #2743301 by neerajsingh: Removed deprecated usage of @file tag...

Status: Fixed » Closed (fixed)

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