discord-php / DiscordPHP

An API to interact with the popular messaging app Discord
MIT License
999 stars 237 forks source link

Remove useless forced dependency (psr/simple-cache) #1045

Closed Divi closed 1 year ago

Divi commented 1 year ago

Hello!

The dependency psr/simple-cache is locked at a very old version (~2017, 1.x, now the 3.x exists, the locked version blocks every recent library that we want to add). This dependency should not be required, only suggested because it's used only for resolving the cache configuration parameter.

I removed it from composer.json file and handled the case where the dependency does not exist.

key2peace commented 1 year ago

as described on discord, this is not useless/unused but part of the cacheInterface. #1046 is what should be done instead. closing