Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 518 Bytes

method_separation.rst

File metadata and controls

31 lines (24 loc) · 518 Bytes

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()
     {
     }
 }