As per coding standard documentation at 'https://www.drupal.org/coding-standards/docs', @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.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | remove_file_tag-2851988-6.patch | 1.09 KB | sneha_surve |
| #2 | remove@file_2851988_1.patch | 1.09 KB | nehakhadke |
Comments
Comment #2
nehakhadke commentedComment #3
zalak.addweb commented@nehakhadke Thanks, For the patch corrections!
Comment #4
kunalkursija commentedComment #5
sneha_surve commentedComment #6
sneha_surve commentedChanging the patch name.
As per coding standard documentation at 'https://www.drupal.org/coding-standards/docs', @file tag docblock have been removed successfully.
"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."
Comment #7
ashishdalviHi @sneha_surve,
Providing inter diff file will help to review the changes.
Please refer the above document for creating the interdiff https://www.drupal.org/documentation/git/interdiff
Thanks,
Comment #8
sneha_surve commentedHi @Ashish
Both the patches are same. Patch given by Neha, works fine for me. I have just changed the name of the patch file as it contains special character.
Comment #10
kunalkursija commentedThanks for the #2 @nehakhadke.
Have Committed to new 8.x-2.x branch, Will be creating the release soon.
Comment #11
kunalkursija commentedThank you for the contribution guys.
I have added a new release that fixes this issue.
Here is 8.x-2.0 release: https://www.drupal.org/project/age_calculator/releases/8.x-2.0.