github ecsphp/ecs 13.3.12
ECS 13.3.12

4 hours ago

Bugfixes 🐛

Anonymous class with inline attribute kept in parity

blink reformatted an anonymous class carrying a class-level attribute (new #[AsEventListener(...)] class() {}) differently from the PHP engine - it broke the attribute onto standalone lines and moved the class brace to its own line. The anon-class detection now steps over the leading attribute in both BracesPosition and ClassDefinition, ClassDefinition flattens a multiline attribute in the header, and StandaloneLineSymfonyAttributeParamFixer runs at its PHP-CS-Fixer priority so both engines produce identical output.

ecsphp/ecs-src#230

Don't miss a new ecs release

NewReleases is sending notifications on new releases.