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

".72" releases are preferred over normal ones #18

Closed szepeviktor closed 1 year ago

szepeviktor commented 1 year ago

.72 releases include "php": ">=7.2" Users on PHP 8+ will always install this because its semver is higher than normal releases. It should include "php": ">=7.2 <8.1" to prevent that.

szepeviktor commented 1 year ago

I do not dare to send a PR for fear of closure. https://github.com/TomasVotruba/class-leak/blob/7cdda3da30699d63e4fe67e0ac1b9258ae45f828/build/target-repository/composer.json#L6

TomasVotruba commented 1 year ago

This is intended, as 7.2 package is also scoped.