github ecsphp/ecs 13.3.20
ECS 13.3.20

latest release: 13.3.21
2 hours ago

Bug fixes 🐛

  • Respect withSpacing() indentation in --blink and 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 match is no match block, no more invalid , in its body (#367)

Don't miss a new ecs release

NewReleases is sending notifications on new releases.