qossmic / deprecation-detector

MIT License
390 stars 40 forks source link

Supports Symfony 4 #140

Closed vincentchalamon closed 6 years ago

vincentchalamon commented 6 years ago

I would like to install this tool (even in dev) in my project dev-dependencies: composer req --dev sensiolabs-de/deprecation-detector:dev-master. Installation failed because of symfony/* requirements limited to ~3.0.

I'll try to open a PR to add Symfony 4 & PHP 7 supports.

theofidry commented 6 years ago

@vincentchalamon alternatively don't install it as a dev dependency and use a PHAR or another composer.json file cf. Managing your PHP dependencies :)

vincentchalamon commented 6 years ago

Closing as no activity since months, and @theofidry gave me a great solution (thanks !)

TomasVotruba commented 6 years ago

It depens on context of the project. In case of 2 same classes are loaded with conflicting API, it will crash application. See:

Also, I think this issue also overleaps to long term support, with Symfony 5 in the future etc., not only about way to install it