Skip to content

Releases: SymPress/coding-standards

1.0.1

10 Jun 17:24

Choose a tag to compare

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 --strict
  • composer qa

Full Changelog

Full Changelog: 1.0.0...1.0.1

1.0.0

10 Jun 17:15

Choose a tag to compare

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

  • SymPress
  • SymPress-Pure
  • SymPress-WordPress
  • SymPress-Boundary
  • SymPress-Templates
  • SymPress-Enterprise-LTS
  • SymPress-Enterprise-Modern
  • SymPress-Enterprise-Next
  • SymPress-Plugin
  • SymPress-Core
  • SymPress-Extra

Installation

composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer require --dev sympress/coding-standards

Recommended Default

Use SymPress-Enterprise-Modern for current enterprise WordPress projects:

<rule ref="SymPress-Enterprise-Modern" />

Full Changelog

Initial stable release.