0.6.2
Improvements
- Cache class name resolution and skip redundant return-type body scans (#62)
- O(1)
conditionschecks + cached arrow-function scopes inConsistentIndentSniff(#63) - Cache
UseStatementsTrait::getUseStatementsand bound the throw class-name lookup to the current statement (#64) - Cache docblock FQCN lookups (
parseUseStatements/getNamespace) and dedupe per-doc-block processing (#65) - Cache
UseStatementSniff::getUseStatementsacross phpcbf fix iterations (#66)
Combined, these cut composer cs-check wall-clock time roughly in half on large method-heavy codebases. On an 11k-line CakePHP controller the slowest single file went from ~40s to ~6s; on a 1095-file project the whole-codebase scan dropped from ~2m08s to ~30s with parallel=16.
Full Changelog: 0.6.1...0.6.2