WordPress Coding Standards Maintainer Warns of Funding-Dependent Maintenance Halt: “Unsustainable Situation”

WordPressCS 3.0.0: A Critical Update for WordPress Developers

WordPressCS 3.0.0 was recently released, bringing significant changes to improve the accuracy, performance, stability, and maintainability of all sniffs, as well as its handling of modern PHP. This update is a crucial one for developers who want to meet the requirements of the official WordPress Coding Standards.

What is WordPressCS?

WordPressCS is a project that consists of PHP_CodeSniffer rules (sniffs) used to validate code developed for WordPress. It helps developers ensure that their code adheres to the WordPress Coding Standards, which are essential for maintaining code quality and security.

What’s New in Version 3.0.0?

This update incorporates many non-controversial rules proposed in March 2020 into the Coding standards guidelines. However, rules that generated more discussion or objections have been left for a future release. The new rules are now available as sniffs in WordPressCS, making it easier for developers to follow the coding standards.

Important Architecture Changes

Version 3.0.0 introduces significant architecture changes. The most notable change is that Composer is now the only supported way to install WordPressCS. This update includes four runtime dependencies, making Composer necessary for seamless installation and usage. Developers who rely on other installation methods will need to switch to Composer.

Breaking Changes and Upgrade Guide

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. To help developers navigate these changes, a detailed upgrade guide is available for different scenarios. It is crucial to review this guide before updating to version 3.0.0.

The Future of WordPressCS

While this release marks a significant milestone for WordPressCS, its future is uncertain due to funding challenges. Maintainer Juliette Reinders Folmer expressed concerns about the project’s sustainability without adequate funding. She emphasized that the majority of the work has been done by one mostly unpaid contributor, with limited code review support.

Call for Funding and Contributions

Folmer is calling on corporate and agency users of WordPressCS to contribute to the project’s maintenance and development. She highlighted the urgent need for more contributors to ensure the project’s long-term viability. Currently, the “bus factor” of WordPressCS is 1, meaning that if the main contributor were to leave, the project would be at risk.

The Importance of WordPressCS

WordPressCS has become a crucial tool in the WordPress ecosystem, with over 15 million installations on Packagist and a 400% increase in monthly installations in the past three years alone. It plays a vital role in flagging code style issues and critical security issues, making WordPress a more secure CMS. Allowing WordPressCS to fall into limbo poses a risk to the entire WordPress community.

Conclusion

WordPressCS 3.0.0 brings significant improvements to code validation for WordPress developers. With its updated sniffs and adherence to modern PHP standards, developers can ensure their code meets the requirements of the official WordPress Coding Standards. However, the future of WordPressCS is uncertain without adequate funding and contributions. It is crucial for corporate and agency users to step up and support the project’s continued maintenance and development. By doing so, they can help secure the future of WordPressCS and contribute to a more secure and reliable WordPress ecosystem.

Stay in Touch

spot_img

Related Articles