Repository navigation
Blink (Go engine) 😉
Full PHP_CodeSniffer and slevomat coverage
- PHP_CodeSniffer: all 203 sniffs are now in blink - every fixable sniff byte-exact against ECS on PHP_CodeSniffer's own test files, plus all 89 report-only sniffs (#389, #390, #393, #398, #403, #404, #405, #406, #407, #408, #411)
- slevomat/coding-standard: all 132 fixable sniffs are now in blink - Arrays, Attributes, Classes, Commenting, ControlStructures, Exceptions, Functions, Namespaces, Numbers, Operators, PHP, TypeHints, Variables and Whitespaces (#391, #394, #397, #400, #402, #410, #412, #413, #414, #417, #420, #421)
- ForbiddenFunctionsSniff: ported, and sniff configuration is now passed to blink (#385, ecsphp/ecs#353), thanks to @markitosgv
- Show blink rule parity per source in the README (#392)
Smaller package
- Download blink binaries from GitHub releases on first run instead of shipping them in the package - install size no longer grows with every release (#395, #396)
- Cap the binary download stall at 5 seconds, so an offline run falls back to the PHP engine quickly (#399)
- Rebuild the deployed repository from scratch to drop stale files, e.g. the old
bin/blinkwrapper (#401)
Parity fixes, thanks to @Arkounay
- SingleQuote: convert double-quoted strings whose only escapes are
\\,\"and\$, like PHP-CS-Fixer (#418, #419) - OperatorSpacing, InlineIfDeclaration, OperatorBracket: match PHPCS on DNF parameter types and by-reference closures in a ternary (#409)
- Report-only sniffs: match PHPCS on
use functionimports, short-array assignments and nesting levels, now guarded by an errors parity CI job (#415)