Releases: SymPress/coding-standards
Releases · SymPress/coding-standards
1.0.1
What's Changed
- Fixed the Composer PHP runtime constraint to require PHP 8.4 or newer.
- Updated compatibility documentation to match the supported runtime and QA matrix.
- Keeps enterprise compatibility profiles explicit while aligning package installation requirements with CI support.
Verification
composer validate --strictcomposer qa
Full Changelog
Full Changelog: 1.0.0...1.0.1
1.0.0
What's Changed
- Initial stable release of SymPress Coding Standards.
- Added enterprise PHPCS rulesets for WordPress projects with Symfony-inspired application structure.
- Added custom SymPress sniffs for architecture, formatting, naming, complexity, PHP templates, and WordPress hook usage.
- Added WordPress, WordPress VIP, PHPCompatibility, PHPCSExtra, PHPCSUtils, Slevomat Coding Standard, and VariableAnalysis integration.
- Added explicit rulesets for pure PHP code, WordPress boundary files, PHP templates, and enterprise adoption profiles.
- Added documentation for installation, integration, compatibility, enterprise adoption, rule strategy, disabling rules, IDE setup, and release policy.
- Added GitHub Actions QA for PHP 8.4 and PHP 8.5.
Included Rulesets
SymPressSymPress-PureSymPress-WordPressSymPress-BoundarySymPress-TemplatesSymPress-Enterprise-LTSSymPress-Enterprise-ModernSymPress-Enterprise-NextSymPress-PluginSymPress-CoreSymPress-Extra
Installation
composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer require --dev sympress/coding-standardsRecommended Default
Use SymPress-Enterprise-Modern for current enterprise WordPress projects:
<rule ref="SymPress-Enterprise-Modern" />Full Changelog
Initial stable release.