Closed ntwb closed 5 years ago
Once up and running ./vendor/bin/phpcs -p . --standard=WPThemeReview results in:
./vendor/bin/phpcs -p . --standard=WPThemeReview
ERROR: Referenced sniff "WordPress.CodeAnalysis.EmptyPHPStatement" does not exist
Removing the following works around the issue:
https://github.com/WPTRT/WPThemeReview/blob/50ba5f783d4848342fc82760fa2211a0a9697eff/WPThemeReview/ruleset.xml#L51-L52
My composer.json contents:
composer.json
"require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "~0.4.4", "wp-coding-standards/wpcs": "~1.1.0", "wptrt/wpthemereview": "dev-develop" },
You're right, PR upcoming.
The PR has been merged, @ntwb can you please test it now, just to be on the safe side? 🙂
Once up and running
./vendor/bin/phpcs -p . --standard=WPThemeReview
results in:Removing the following works around the issue:
My
composer.json
contents: