Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jhedstrom opened this issue Jan 5, 2017 · 0 comments
Open

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

jhedstrom opened this issue Jan 5, 2017 · 0 comments
Milestone

Comments

@jhedstrom
Copy link
Member

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).

jhedstrom added a commit that referenced this issue Jan 5, 2017
jhedstrom added a commit that referenced this issue Jan 6, 2017
jhedstrom added a commit that referenced this issue Aug 31, 2017
@grayside grayside added this to the Icebox milestone Mar 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants