phpspec / prophecy

Highly opinionated mocking framework for PHP 5.3+
MIT License
8.53k stars 242 forks source link

Add 'dev' keyword to composer.json to trigger `--dev` prompt #609

Closed Ayesh closed 1 year ago

Ayesh commented 1 year ago

Composer 2.4 and later can automatically suggest to use the --dev flag when someone runs composer require phpspec/prophecy without the --dev flag.

See Get Composer to suggest dev packages to require-dev

Ayesh commented 1 year ago

Thank you for the quick review and merge @stof 🙏