diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8e8592..bb0d336 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,9 @@ name: release -on: workflow_dispatch -# on: -# push: -# tags: -# - '*' +# on: workflow_dispatch +on: + push: + tags: + - '*' jobs: build: diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f25ef1..6dc3f79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,53 +1,66 @@ -2.2.0 - - Fix dev dependencies for composer2.0 compatibility - - code typehint fixes - +2.3.0 + +- Fix #34 +- Fix #36, #37 +- Add support --version option +- Fix #33 - now .phar builds available 2.2.0 +- Fix dev dependencies for composer2.0 compatibility +- code typehint fixes + 2.1.1 - - Improve json output format - - code style fixes + +- Improve json output format +- code style fixes 2.1 - - Support namespaces with group use declarations - - Ensure php 7.4 support - +- Support namespaces with group use declarations +- Ensure php 7.4 support + 2.0.4 - - Symfony 5.0 support - + +- Symfony 5.0 support + 2.0.3 - - Added ext_mbstring dependency in composer.json - - Cosmetic changes - -2.0.2 - - Add License file - - Fix travis tests config - + +- Added ext_mbstring dependency in composer.json +- Cosmetic changes + +2.0.2 + +- Add License file +- Fix travis tests config + 2.0 - - PHP >=7.1 branch without legacy support - -1.3 - - Added support for old php 5.6, php 7.0 versions + +- PHP >=7.1 branch without legacy support + +1.3 + +- Added support for old php 5.6, php 7.0 versions 1.2 - - Window suppor improvement - + +- Window suppor improvement + 1.1.1 - - Fix #13, use DIRECTORY_SEPARATOR constants for windows support - - add tests for php 7.3 in travis.ci - - move Changelog in separated file - +- Fix #13, use DIRECTORY_SEPARATOR constants for windows support +- add tests for php 7.3 in travis.ci +- move Changelog in separated file + 1.1 - - Fix #10 - php extensions should be skipped without warnings - - Fix #12 - check presence of scanner_config.php in current working directory and allow run without arguments +- Fix #10 - php extensions should be skipped without warnings + +- Fix #12 - check presence of scanner_config.php in current working directory and allow run without arguments + +- New config option - skipPackages for excluding packages from checking - - New config option - skipPackages for excluding packages from checking - -1.0.9 - - Add ability for store usage report [@see](https://github.com/Insolita/unused-scanner/blob/master/scanner_config.example.php#L51) +1.0.9 +- Add ability for store usage report [@see](https://github.com/Insolita/unused-scanner/blob/master/scanner_config.example.php#L51) -1.0.8 +1.0.8 - Return different exitCodes [@see](https://github.com/Insolita/unused-scanner/blob/master/Lib/Runner.php#L18) diff --git a/README.md b/README.md index 9a4ffb7..8df1b54 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ by default Add --silent option for skip progress output and return exit code = 16, when unused packages detected -run `unused_scanner /path/to/configuration/file/scanner_config.php --silent` +run `unused_scanner --silent /path/to/configuration/file/scanner_config.php` **Docker**: diff --git a/unused_scanner b/unused_scanner index c177f1b..4130e16 100644 --- a/unused_scanner +++ b/unused_scanner @@ -1,6 +1,6 @@ #!/usr/bin/env php