Skip to content

PostsPerPageSniff.php does not catch the -1 if the line is not followed by a comma #29

@david-binda

Description

@david-binda

The sniff catches following:

<?php

$args = array(
    'posts_per_page' => -1,
);

but not following:

<?php

$args = array(
    'posts_per_page' => -1
);

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