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

Put function's start accolade on new line #49

Closed
JuJuDropThor opened this issue Jul 12, 2017 · 2 comments
Closed

Put function's start accolade on new line #49

JuJuDropThor opened this issue Jul 12, 2017 · 2 comments

Comments

@JuJuDropThor
Copy link

JuJuDropThor commented Jul 12, 2017

Hi guys,

thanks for that lib, pretty usefull.

Is it possible to generate function like that ?

public function setEmail($email)
{
	$this->email = $email;
	return $this;
}

instead of that

public function setEmail($email) {
	$this->email = $email;
	return $this;
}

I 'd like the first accolade be on new line.

Is that possible ? I didn't find any parameter. Maybe overriding something ?

I got the same issue on the accolade of my class.

class User {

instead of

Class User
{

@JuJuDropThor JuJuDropThor reopened this Jul 12, 2017
@JuJuDropThor JuJuDropThor changed the title Put function's strat accolade on new line Put function's start accolade on new line Jul 12, 2017
@gossi
Copy link
Member

gossi commented Jul 12, 2017

The strategy towards this is roughly outlined in #23

@gossi
Copy link
Member

gossi commented Aug 4, 2018

Implemented, see #54

@gossi gossi closed this as completed Aug 4, 2018
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

No branches or pull requests

2 participants