Closed (fixed)
Project:
Coder
Version:
8.x-2.x-dev
Component:
Coder Sniffer
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2016 at 09:15 UTC
Updated:
3 Apr 2016 at 20:54 UTC
Jump to comment: Most recent
https://www.drupal.org/node/608152#indenting says that there should be empty lines after the class definition, after the property definition and after methods. Check if a sniff for that in Squiz or other standards already exists or create one.
Comments
Comment #3
klausiFirst part done for functions and methods.
TODO: check class properties.
Comment #4
klausiAh, this sniff also checks that there is an empty line before functions, so we are covered for the the empty line after class properties.