composer-unused v0.8.1 Release Notes
Release Date: 2022-02-15 // almost 3 years ago-
➕ Added
- ➕ Add
--output-format
option- Current supported values:
default
andgithub
github
can be used to annotate PR
- Current supported values:
- ➕ Add
CiDetector
to change output format according to the current ci environment - ➕ Add
symfony/dependency-injection
to leverage autowiring - ➕ Add dedicated configuration (
composer-unused.php
) ### 🛠 Fixed - 🛠 Fix
Lexer\Emulative
to use the current php version instead of latest one - Removed
is_dir()
check fromLocalRepository
to avoid crashingfile_get_contents
- 🛠 Fix phar build using the latest
box-project/box
version - 🛠 Fix error if
composer.json
does not exist in given path - 🛠 Fix issue where
Filter
was marked as unused again after being already used - 🛠 Fix ignore/invalid dependencies showing up in
Ignored
section again ### 🔄 Changed - 🔄 Change the information about ignored dependencies
- 📜 Raised minimum requirement for
composer-unused/symbol-parser
to0.1.7
### ✂ Removed - ✂ Removed custom implementation of DI ### 🔒 Security ### 🗄 Deprecation
- ➕ Add
Previous changes from v0.8.0
-
🛠 Fixed
- 🛠 Fixed version output when running
bin/composer-unused --version
### ➕ Added - ➕ Added CLI argument
composer-json
which can be used to parse external projects. This will default to the current working directory. - ➕ Added error message when
composer.json
is not readable - ➕ Added check for zombie exclusion. It will report if any excluded packages or pattern did match any package ### 🔄 Changed
- 🔄 Change
bin/composer-unused
to be used as standalone binary - 📦 Package type is now
library
instead ofcomposer-plugin
### ✂ Removed - ✂ Removed ability to work as
composer-plugin
(will be supported usingcomposer-unused/composer-unused-plugin
) - ⬇️ Dropped support for php
7.3
- 🛠 Fixed version output when running