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

[Feature request] Bracket position for closure #79

Open
Slavenin opened this issue Jun 6, 2017 · 1 comment
Open

[Feature request] Bracket position for closure #79

Slavenin opened this issue Jun 6, 2017 · 1 comment

Comments

@Slavenin
Copy link

Slavenin commented Jun 6, 2017

Hi!
I am using "new line" open curly brace position in my code. But in closure need position in same line.

$response->setCallback(function () use($path) {
    readfile($path);
});
@tchule
Copy link
Contributor

tchule commented Jun 6, 2017

Hello,

Thanks for your reports on issues.

I think they all fall in the categorie of "PHPChecstyle hasn't been tested with these new features yet". I still have to write some unit tests for square braquet notation for arrays, closures, ...

I will have a look as soon as I can.

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