symfony / skeleton

The Symfony skeleton
MIT License
598 stars 128 forks source link

Drop allowing for unused composer plugin #207

Closed andrew-demb closed 2 years ago

andrew-demb commented 2 years ago

There is no installed composer/package-versions-deprecated after project initialization

$ symfony new test --no-git > /dev/null 2>&1 && cd test
$ composer why composer/package-versions-deprecated

In BaseDependencyCommand.php line 78:

  Could not find package "composer/package-versions-deprecated" in your project  

depends [-r|--recursive] [-t|--tree] [--] <package>
nicolas-grekas commented 2 years ago

This line is on purpose so that ppl are not annoyed when that plugin becomes a dep - and it becomes one pretty quickly as it's used a lot (and it's a safe one). Thanks for proposing but this is desired.

nicolas-grekas commented 2 years ago

Submitted again for 6.2 at https://github.com/symfony/skeleton/pull/210