Skip to content

Releases: shipmonk-rnd/composer-dependency-analyser

1.8.1

18 Nov 14:32
0acd9d9
Compare
Choose a tag to compare

Fixes

1.8.0

18 Nov 08:42
b655392
Compare
Choose a tag to compare

New features:

  • 🚀 Support php extension detection (#118)
    • This will likely report new issues upon upgrade
    • You can disable ext-* analysis via $config->disableExtensionsAnalysis()
  • Support NO_COLOR environment variable (#181)
  • Cli: suggest nearest option when typo is made (#183)

Fixes:

  • Cli: fix options parsing (#184)

1.7.0

08 Aug 08:23
bca862b
Compare
Choose a tag to compare

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

03 Jul 12:35
9252ee5
Compare
Choose a tag to compare

Fixes

  • Fix PHP warning with no composer classloader (#150)

1.6.0

02 Jul 12:31
6bbe1d0
Compare
Choose a tag to compare

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

22 Apr 13:35
00b5023
Compare
Choose a tag to compare

Fixes

  • Ensure output of junit format is valid xml (#129)
  • Check invalid cli options combinations (#131)

1.5.2

17 Apr 08:39
701b485
Compare
Choose a tag to compare

Fixes

  • Fix unknown function false positive in multi-attribute usages (#124)

1.5.1

11 Apr 12:42
82b9f82
Compare
Choose a tag to compare

Fixes

  • Fix wrong detection of attribute name when aliased import or FQN is used (#121)

1.5.0

11 Apr 07:58
da9eb49
Compare
Choose a tag to compare

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

19 Mar 16:12
da787b1
Compare
Choose a tag to compare

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)