Skip to content

PEAR.ControlStructures.MultiLineCondition.CloseBracketNewLine not detected if preceded by multiline function call #1135

@nkovacs

Description

@nkovacs

PEAR.ControlStructures.MultiLineCondition.CloseBracketNewLine is detected here:

<?php if ($a && foo('a', 'b')) { echo 'bar'; } 

but not here:

<?php if ($a && foo( 'a', 'b' )) { echo 'bar'; } 

PHP_CodeSniffer version 2.6.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions