Best WordPress Hosting
 

WordPress Coding Standards Maintainer Warns Maintenance Will Be Halted Without Funding: “This Is an Unsustainable Situation.”

via wptavern.com => original post link

WordPressCS 3.0.0 was released this week with what its maintainer, Juliette Reinders Folmer, says are significant changes to improve the accuracy, performance, stability, and maintainability of all sniffs, and its handling of modern PHP. The project is a collection of PHP_CodeSniffer rules (sniffs) that are used to validate code developed for WordPress, helping developers meet the requirements of the official WordPress Coding Standards.

This update adds many of the non-controversial rules proposed in March 2020 to the Coding standards guidelines but leaves those that generated more discussion or objections for a future release. Many of the new rules are now available as sniffs in WordPressCS.

Version 3.0.0 includes important architecture changes. Most notably, Composer is now the only supported way to install WordPressCS, as this update includes four run-time dependencies. The release contains breaking changes for those using ignore annotations and those who maintain custom rulesets or have created a custom PHPCS standard based on the project. A detailed upgrade guide is available for these various scenarios.