qossmic / deprecation-detector

MIT License
393 stars 40 forks source link

Deprecation detector won't install #132

Open NicoHaase opened 7 years ago

NicoHaase commented 7 years ago

Hi there, I wanted to install the detector using the global installation. The command composer global require sensiolabs-de/deprecation-detector yields the following error:

[InvalidArgumentException] Could not find package sensiolabs-de/deprecation-detector at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

It would be cool to give the proper command to all users, as not everyone might know what to do now

ixarlie commented 7 years ago

Try to change your global minimum stability to dev (this defaults to stable) $ composer global config minimum-stability dev $ composer global config prefer-stable true

Last command is optional and it will try to get stable versions over unstable ones if there are any.

NicoHaase commented 7 years ago

I got it done anyway, but my point is not that I personally seeked help, but that the documentation about how to install lacks some details