Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.5) edition

Rule blank_line_before_return

Warning

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

You should use blank_line_before_statement instead.

An empty line feed should precede a return statement.

Examples

Example #1

--- Original
+++ New
 <?php
 function A()
 {
     echo 1;
+
     return 1;
 }
The logo is © 2010-2014 Sensio Labs