Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.5) edition

Rule method_separation

Warning

This rule is deprecated and will be removed on next major version.

You should use class_attributes_separation instead.

Methods must be separated with one blank line.

Examples

Example #1

--- Original
+++ New
 <?php
 final class Sample
 {
     protected function foo()
     {
     }
+
     protected function bar()
     {
     }
 }
The logo is © 2010-2014 Sensio Labs