Skip to content

ECS 13.3.12

Latest

Choose a tag to compare

@TomasVotruba TomasVotruba released this 29 Oct 14:53
· 15 commits to main since this release

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