Releases: figlabhq/coding-standard
Releases · figlabhq/coding-standard
Release list
2.0.0
⚠️ Breaking change
This release upgrades the underlying IxDF Coding Standard from 0.3.3 to 0.7.0 and raises platform requirements.
Projects pinned to ^1.0 are unaffected — they stay on the 1.x line. Opt into this release by moving your constraint to ^2.0 once you're on PHP 8.3+ and ready for PHP_CodeSniffer 4.
Requirements
- PHP 8.3+ (was 8.2)
- PHP_CodeSniffer 4.x (was 3.x)
Dependency changes
php:^8.2→^8.3squizlabs/php_codesniffer:^3.9→^4.0slevomat/coding-standard:^8.14→^8.25interaction-design-foundation/coding-standard:^0.3→^0.7friendsofphp/php-cs-fixernow included transitively (hard requirement of IxDF 0.7.0)
Ruleset changes
Removed two overrides that became redundant:
SlevomatCodingStandard.Functions.DisallowNamedArguments— disabled upstream in IxDF 0.6.2IxDFCodingStandard.Laravel.NonExistingBladeTemplate— never enabled by the IxDF ruleset (no-op)
Upgrading
After bumping to ^2.0, run your CS checks against the full codebase — PHPCS 4 and slevomat 8.29 can surface new findings and apply different auto-fixes than the 3.x line.
Full changelog of the underlying standard: InteractionDesignFoundation/coding-standard@0.3.3...0.7.0