Skip to content

Semi-colon spacing #3

@colinodell

Description

@colinodell

c8a5646 should be reverted. However, this would prevent semi-colon usage like this:

function test() {
    $x = $whatever
        ->foo()
        ->bar()
    ;
}

So we need to make an expection for this case, which might require us making our own version of SemicolonSpacingSniff

Or we could just disallow that example above?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions