Proof of concept for a WordPress plugin check tool.
For now, this is limited to WP-CLI usage. Eventually, the real plugin checker should probably have a UI as well that allows invoking the checks for a plugin.
wp plugin-check check-plugin hello
wp plugin-check check-plugin akismet
- All checks are implemented as classes that implement the
WordPress\Plugin_Check\Checker\Checkinterface. - Check classes can optionally implement the
WordPress\Plugin_Check\Checker\Preparationinterface if they require any environment preparation before running the check. - There can also be general environment preparation steps which should be implemented as standalone classes implementing the
WordPress\Plugin_Check\Checker\Preparationinterface only.
Enqueued_Scripts_CheckPHP_CodeSniffer_Check- currently just checks for
WordPress-Coreruleset - should eventually use a custom ruleset for the plugin checker
- currently just checks for