Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 |
---|---|---|---|
#2 | removed-file-docblock-2766795.patch | 9.39 KB | aks22 |
|
Comments
Comment #2
aks22 CreditAttribution: aks22 as a volunteer and at Cybage Software Pvt Ltd. commentedPlease find attached patch file.
Comment #3
aks22 CreditAttribution: aks22 as a volunteer and at Cybage Software Pvt Ltd. commentedComment #4
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedAfter applying the patch, there is no @file tag docblock in .php extension files.
Comment #5
Munavijayalakshmi CreditAttribution: Munavijayalakshmi at Valuebound commentedComment #7
Alan D. CreditAttribution: Alan D. commentedcheap commit cred ;)
Comment #8
aks22 CreditAttribution: aks22 as a volunteer and commentedYou can definitely revert the commit credit, I don't mind it for that.
Every commit in the community is important whether it is "CHEAP" or "USEFUL".
If everyone thoughts like you then there will be no commits by the community in future. Please make sure your code works and it should be as per Drupal.org standards.
Comment #9
Alan D. CreditAttribution: Alan D. commentedJust being cheeky :P
Probably be able to generate a few 1,000 of these:
https://cgit.drupalcode.org/name/commit/?id=d311791
Comment #10
aks22 CreditAttribution: aks22 as a volunteer and commentedGood idea.Please proceed. You are master of finding it.
Comment #11
aks22 CreditAttribution: aks22 as a volunteer and commented@Alan: Leave the previous part of comments but contributors are the main pillar of Drupal. In whatever way, they are committing the code which is helpful for every Drupaler. We all are in the same boat(Drupal) and so don't forget that when we stuck on any issue these commits and comments from Drupal.org helps us.
Hope you get me right. I would love to have many more conversation with you as you are a Drupaler and I respect your work and community contribution.
Thanks.