Repository navigation
ECS 13.3.20
Bug fixes 🐛
- Respect
withSpacing()indentation in--blinkand auto-blink runs - tabs and 2 spaces are no longer rewritten to 4 spaces, so auto-blink no longer falls back to PHP on non-default indent (#362, ecsphp/ecs#347)
Blink (Go engine) 😉
Faster runs
- Replace regexes in docblock hot paths with byte scanners, -8 % wall time, -11 % CPU on 7 k files (#360)
- Speed up GlobalNamespaceImport and the shared symbol scan (#364)
Parity fixes, thanks to @spawnia
- NewWithParentheses: remove empty parentheses of anonymous classes with
anonymous_class: false(#366) - NoExtraBlankLines: keep blank line after
?: throw- only a case-label colon counts as statement start (#368) - PhpdocSummary: skip single-line docblocks and docblocks that open with a tag (#365, #372)
- PhpdocTrim: keep blank lines after a text-bearing opening line, e.g.
/** @param int $a(#370) - TrailingCommaInMultiline: a method named
matchis nomatchblock, no more invalid,in its body (#367)