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

Require blank lines between methods #12

Merged
merged 2 commits into from
Dec 14, 2020

Conversation

MidnightDesign
Copy link
Contributor

This makes the following code invalid:

interface NoEmptyLineBetweenInterfaceMethods
{
    public function methodA(): void;
    public function methodB(): void;
}

This is valid:

interface SingleBlankLineBetweenInterfaceMethods
{
    public function methodA(): void;

    public function methodB(): void;
}

@MidnightDesign MidnightDesign merged commit 23ab396 into master Dec 14, 2020
@MidnightDesign MidnightDesign deleted the blank-lines-between-methods branch December 14, 2020 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants