Is there any Customizable Sniff Properties for classes/traits/interfaces?

Viewed 155

is there any Customizable Sniff Properties for classes/traits/interfaces to do the followings;

  • not allow a blank line before the first content
  • One blank line after the last content

I am expecting a rule for something like this.

example

Valid code

Class Example()
{
  /** Content */

}

Invalid Code: After the content it does not have a blank line & before the content there is a space allowed

Class Example()
{
 
 /** Content */
}
1 Answers
Related