Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add special dev to composer keywords #319

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

jnoordsij
Copy link
Contributor

The special dev keyword will warn users who run composer require nunomaduro/collision with the following prompt:

> composer require nunomaduro/collision
The package you required is recommended to be placed in require-dev (because it is tagged as "dev") but you did not use --dev.
Do you want to re-run the command with --dev? [yes]?

See also https://getcomposer.org/doc/04-schema.md#keywords.

@nunomaduro nunomaduro merged commit 695b8b9 into nunomaduro:v8.x Jan 23, 2025
0 of 25 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants