Skip to content

Add ignoreNewlines option to Squiz.Strings.ConcatenationSpacing sniff #511

@Pittiplatsch

Description

@Pittiplatsch
$a = 1+2;
$a = 1.2;

For the first assignment, missing spaces are announced, whilst the second assignment illegally passes.

IMO T_STRING_CONCAT token must be checked as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions