github ecsphp/ecs 13.3.1
Released ECS 13.3.1

one hour ago

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]);

ecsphp/ecs-src#76

Don't miss a new ecs release

NewReleases is sending notifications on new releases.