• I’m using wp-cli scaffold plugin-tests, and I notice that test-sample.php does not pass the WordPress phpcs rules.

    Am I supposed to ignore the PHPUnit conventions in test-sample.php and follow WP standards instead when I write my own tests?

    Or is phpcs not intended to apply to tests – is there an official preferred approach?

    • This topic was modified 7 years, 10 months ago by Ryan Williams.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘wp-cli scaffold plugin-tests does not pass phpcs rules’ is closed to new replies.