TomasVotruba / class-leak

Find leaking classes that you never use... and get rid of them.
https://tomasvotruba.com/blog/how-to-avoid-maintaining-classes-you-dont-use
MIT License
75 stars 6 forks source link

wrongly prefixed classes in PossiblyUnusedClassesFilter #29

Closed staabm closed 8 months ago

staabm commented 8 months ago

after installing the tool with composer require tomasvotruba/class-leak --dev open the file

vendor/tomasvotruba/class-leak/src/Filtering/PossiblyUnusedClassesFilter.php and find wrongly-prefixed code in the static DEFAULT_TYPES_TO_SKIP-array

grafik

which effectively makes the default-types-to-skip useless

TomasVotruba commented 8 months ago

Thanks for reporting :+1:

Fixed in https://github.com/TomasVotruba/class-leak/commit/0ae12dad605894c1aed03b61479960d4394ae651