The Drupal 8 coding standard guide states
The @file doc block MUST be present for all PHP files, with one exception: files that contain a namespaced class/interface/trait, whose file name is the class name with a .php extension, and whose file path is closely related to the namespace (under PSR-4 or a similar standard), SHOULD NOT have a @file documentation block.
There were a few violations of this rule.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 2742877-5.patch | 9.45 KB | andypost |
| #5 | interdiff.txt | 6.83 KB | andypost |
| #4 | 2742877-4.patch | 3.31 KB | andypost |
Comments
Comment #2
imalabyaAdding a patch
Comment #3
imalabyaComment #4
andypostOnce we touch all files, better to fix 2 more nits
Comment #5
andypostFix remains to conform Drupal coding standards
~/.composer/vendor/bin/phpcs -p --standard=Drupal --extensions=php,module,inc,install,test,profile,theme .Comment #6
naveenvalechatitle of the issue needs updation as it its fixing the code as per latest standards.
How about this ?
Rest looks good to go.
Comment #7
naveenvalechaComment #8
larowlanthanks