News 🎉
Add PER Coding Style 3.0 set
Native support for the PER Coding Style 3.0, mirroring PHP-CS-Fixer's @PER-CS3x0 (non-risky) as a first-class prepared set. Until now PER-CS was only reachable through the deprecated withPhpCsFixerSets(), so there was no supported way to apply it.
use Symplify\EasyCodingStandard\Config\ECSConfig;
return ECSConfig::configure()
->withPreparedSets(perCs: true);Or via the set list:
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;
return ECSConfig::configure()
->withSets([SetList::PER_CS]);