Skip to content

Squiz OperatorBracketSniff incorrectly reports and fixes operations using self:: #615

@yfedoruk

Description

@yfedoruk

string to and after phpcbf --standard=Squiz :

- $cntPages = ceil( count($items) / self::ON_PAGE); + $cntPages = ceil((count($items) / ) self::ON_PAGE);

PHP Parse error: syntax error, unexpected ')'

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