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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2536644-generate-proxy-class-1.patch | 858 bytes | tim.plunkett |
Comments
Comment #1
tim.plunkettComment #2
dawehner+1
Comment #3
fabianx commentedRTBC + 1
Comment #4
alexpottYep this makes sense. Committed fb15cca and pushed to 8.0.x. Thanks!