forked from PHP-CS-Fixer/PHP-CS-Fixer
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merged branch JEDIBC/fixReturnIfNoBraces (PR PHP-CS-Fixer#120)
Commits ------- fb141b9 Remove unneeded rtrim 3c46626 Fix if there is multiple blank line between the previous instruction and the return statement 8912019 Fix blank line before return if used ine an if/els/else if/else context with no opening brace used Discussion ---------- Fix blank line before return if used ine an if/els/else if/else context ... ...with no opening brace used Like : ``` if ($foo == $bar) return true; ``` must remain without blank line.
- Loading branch information
Showing
2 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters