Skip to content

PSR2: Multiline conditionalsΒ #460

Closed
Closed
@Pittiplatsch

Description

@Pittiplatsch

As already stated in #454 (comment), code like this:

if (
    true
    || false
) {
    1;
}

is valid for PSR2 and should therefore not throw errors like Expected 0 spaces after opening bracket; newline found.

[edited link to issue]

Metadata

Metadata

Assignees

No one assigned

    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