Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.1) 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
@@ -4,7 +4,8 @@
     protected function foo()
     {
     }
+
     protected function bar()
     {
     }
 }
The logo is © 2010-2014 Sensio Labs