Releases: shipmonk-rnd/composer-dependency-analyser
Releases · shipmonk-rnd/composer-dependency-analyser
1.7.0
New features:
- Support absolute paths in composer
autoload
sections (#171, @VincentLanglet)
- Support even zero composer classloaders (#161)
- Print issue counts per error type (#175)
- Add
--version
cli option (#172, #176)
Fixes:
- Show all usages even when
--show-all-usages
is combined with --verbose
(#160)
- Add missing
--ignore-unknown-functions
to --help
(#159)
- Improve further processing of
junit
format (#164, #174)
1.6.1
Fixes
- Fix PHP warning with no composer classloader (#150)
1.6.0
New features:
- Read composer's
exclude-from-classmap
to exclude paths from analysis (#140 by @LastDragon-ru )
- Support qualified names in global scope (#148)
- Often used in
bundles.php
in Symfony applications (#146)
Fixes:
- More specific path has dev/prod mark priority (#142)
- Fix false positive with extension functions with uppercase characters (#144)
1.5.3
Fixes
- Ensure output of junit format is valid xml (#129)
- Check invalid cli options combinations (#131)
1.5.2
Fixes
- Fix unknown function false positive in multi-attribute usages (#124)
1.5.1
Fixes
- Fix wrong detection of attribute name when aliased import or FQN is used (#121)
1.5.0
New features
- 🚀 support function detection (#71)
- no more unused dependency false positive for packages with functions only!
- support
junit
format output via --format=junit
(#110) (by @reinfi)
Fixes
- Better error message for invalid autoload paths in composer.json (#117)
1.4.0
New features:
- Ability to scan codebase outside of installed folder (#93)
- This allows usage of composer-bin-plugin, easy scans of codebases with PHP < 7.2, composer's global install, single install in monorepo and similar approaches
- Ability to dump usages of a package via
--dump-usages symfony/console
(#88)
- Handy when verifying reported issues
Improvements:
- Support absolute path in
--composer-json
and --config
(#98)
- Ensure
ext-tokenizer
is present (#104)
1.3.1
Fixes:
- Fix false-positive when FQN reference of a non-lowercase function is used (#90)
1.3.0
Improvements
- Performance boost of 40-60% depending on a project (#65, #66)
New features
- Support multiple composer class loaders (#82)
- This allows proper analysis in libraries extending PHPStan (example)
Fixes
- Fix edgecase where
use Trait
is treated as use statement (#69)