Closed jhedstrom closed 9 years ago
Recently we updated our fork of grunt-phpcs to base off a rewrite. This behavior is not new since that change, as we've noted it always has taken a couple minutes.
I believe the correct fix is not in GDT, but for grunt-phpcs to validate it has files to scan before executing phpcs.
Hi There, after running yo gadget then grunt I get the same issue as above, then the process aborts due to warnings... how can I move forward?
Try creating a file in src/modules that would be processed as php. E.g., a .module file.
When I run grunt without a file in src/modules it complains about there not being anything to check and aborts. If I put in an empty php file it complains that the file is empty then aborts. No matter what php I put in the file I get back a long list of errors and it aborts (Warning: Task phpcs:validate failed). Even if I copy a php file from a module in core grunt aborts after telling me Warning: Task phpcs:validate failed.
Any suggestions?
@EvanLovely :+1: for the fix
To reproduce:
It eventually (many minutes):