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.
The generated file doesn't have a blank line between the php open tag and the file doc comment. Attached patch fixes that.
Comment | File | Size | Author |
---|---|---|---|
#2 | generated_module_code_standards-2786647-1.patch | 930 bytes | DanielVeza |
|
Comments
Comment #2
DanielVezaComment #3
longwaveDuplicate of #2782403: Coding standards: blank line after php open tag ?
edit: not quite, this is the .module file instead of the other files
Comment #4
longwaveComment #5
DanielVezaYeah I did see that one but I figured I'd make my own since this was a more specific file. The .module file was bugging me in particular, since I only run my code sniffer on those. :)
Comment #6
RoSk0Reviewed and tested.
Good job.
Thanks for the patch.
Comment #7
nedjoDuplicate of #2765721: Add a blank line after <?php in features-generated files.