qossmic / deptrac

Keep your architecture clean.
https://qossmic.github.io/deptrac
MIT License
2.64k stars 134 forks source link

add keyword to mark Deptrac as a dev dependency #1442

Open xabbuh opened 1 week ago

xabbuh commented 1 week ago

Adding the static analysis keywords makes Composer prompt the user to suggest re-running composer require with --dev automatically if the option was forgotten by the user (see https://getcomposer.org/doc/04-schema.md#keywords).

gennadigennadigennadi commented 1 week ago

@xabbuh could you be so kind and reopen the PR here https://github.com/qossmic/deptrac-src/blob/2.0.x/build/template/composer.json.

The deptrac repo ist just for distribution purposes. The active development should happen in qossmic/deptrac-src.

And it seems that I did something similar in the composer.json in deptrac-src, but forgot the template composer.json.