Problem/Motivation

php core/scripts/generate-proxy-class.php takes two arguments, a class name and a directory.

When providing a leading slash for the class name, like \Drupal\foo\FooInterface, some of the generated docblocks will have two leading slashes, like \\Drupal\foo\FooInterface.
If you do not provide a leading slash, the @file block will be missing the leading slash.

Proposed resolution

Be consistent, and handle both cases the same

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#1 2536644-generate-proxy-class-1.patch858 bytestim.plunkett

Comments

tim.plunkett’s picture

Status: Active » Needs review
StatusFileSize
new858 bytes
dawehner’s picture

Status: Needs review » Reviewed & tested by the community

+1

fabianx’s picture

RTBC + 1

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Yep this makes sense. Committed fb15cca and pushed to 8.0.x. Thanks!

  • alexpott committed fb15cca on 8.0.x
    Issue #2536644 by tim.plunkett: generate-proxy-class.php should generate...

Status: Fixed » Closed (fixed)

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