Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.75k stars 885 forks source link

Grunt phpcs only runs partly, before exiting with errors #12362

Closed Dieterrr closed 4 years ago

Dieterrr commented 5 years ago

Please give us a description of what happened.

From trunk, in the terminal, I ran 'grunt phpcs'. It gets stuck on "Running "phpcs:plugin" (phpcs) task" for a while. Then it shows a lot of warnings and finally exits with

Warning: Task phpcs:plugin failed. Use --force to continue.
Aborted due to warnings.

Upping the max allowed warning does not fix the problem.

Please describe what you expected to happen and why.

I expect the tests to finish.

How can we reproduce this behavior?

  1. Checkout trunk. Run grunt phpcs
  2. Alternatively run grunt check. This runs 3 tests, the first two pass correctly, the last one (phpcs) fails.
omarreiss commented 4 years ago

This issue is no longer relevant as PHPCS is no longer checked with grunt.