Releases: visavi/cleanup
Releases · visavi/cleanup
Release list
Version 2.2.0
Version 2.1.0
fix: clean files in a flat target directory
- expandTree() only returned subdirectories, so a --path pointing at a
flat directory (no subdirs, e.g. nesbot/carbon/src/Carbon/Lang)
matched nothing and deleted 0 files; prepend the root path itself so
its direct entries are scanned too - quote glob patterns in the readme and --help examples (unquoted
*.php is expanded by the shell, and zsh aborts on no-match) - readme: add an example for stripping a flat directory
Version 2.0.0
Harden deletion safety, modernize to PHP 8.0
- skip symlinks in traversal and deletion: composer path repos
no longer lose source files through linked packages - refuse to run outside vendor (autoload.php check), exit(1)
prevented sweeping deletes when run from a repo checkout - drop GLOB_BRACE: fatal on Alpine/musl; split {,.}*.yml into
plain patterns - patterns: remove .xml (runtime XML risk) and dead travis,
.scrutinizer; add .yaml, .cache, .php-cs-fixer, .DS_Store,
dockerfile, docker-compose and other modern junk - nonzero exit codes on errors, drop usleep delay
BREAKING CHANGE: requires PHP >= 8.0 (was >= 5.4)
Version 1.5.2
Version 1.5.1
v1.5.1 add filter *.neon and .phpstorm.meta.php
version 1.5.0
Added params verbose, dry and path
--verbose (-v) - Increase the verbosity of messages
--path (-p) - Find on specific path
--dry (-d) - Run without actual remove