The Hitchhiker’s Guide to the WordPress Coding Standards
summary
Overview of concrete tools and outcomes: use PHP_CodeSniffer with a project phpcs.xml ruleset (can include PHPCompatibility and WordPress sniffs), run locally or on CI, and auto-fix many issues with phpcbf; also use editorconfig, .gitattributes, ESLint and Prettier for JS/CSS. Core applied a massive autoformat patch but ~3,000 violations still require manual fixes. WordPress.org’s Tide now scans plugins/themes and will respect a bundled ruleset via Composer.
AI-written summary · about
