Skip to content

Defer to phpcs.xml/phpcs.xml.dist when present #311

@jhedstrom

Description

@jhedstrom

When a project's files grow beyond a certain point, the grunt validate task stops working since every single file to be validated is passed to the phpcs command.

The error is

Warning: spawn E2BIG Use --force to continue.

To avoid this, it seems like a good idea to defer to a phpcs.xml or phpcs.xml.dist file (phpcs itself will use these if no files are passed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions