Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty line before return #94

Closed
kamilpiech97 opened this issue Jun 15, 2023 · 1 comment · Fixed by #96
Closed

Empty line before return #94

kamilpiech97 opened this issue Jun 15, 2023 · 1 comment · Fixed by #96

Comments

@kamilpiech97
Copy link
Member

I would like to have empty line before return in functions.

Before:

public function foo(){
$bar = 100;
return $bar;
}

After:

public function foo(){
$bar = 100;

return $bar;
}
kamilpiech97 added a commit that referenced this issue Jun 16, 2023
kamilpiech97 added a commit that referenced this issue Jun 16, 2023
kamilpiech97 added a commit that referenced this issue Jun 16, 2023
kamilpiech97 added a commit that referenced this issue Jun 16, 2023
kamilpiech97 added a commit that referenced this issue Jun 20, 2023
* #94 - added blank line fixer

* #94 - fixes

* #94 - add more cases for fixer

* #94 - added one more case for test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants