Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Documentation clarification: COMPOSER_NO_DEV scope #11447

Merged
merged 1 commit into from May 2, 2023

Conversation

stesi561
Copy link
Contributor

@stesi561 stesi561 commented May 2, 2023

Updates documentation of COMPOSER_NO_DEV variable.

Further to: 10995

Currently the --update-no-dev option links to the documentation for COMPOSER_NO_DEV.

The documentation for COMPOSER_NO_DEV only references the --no-dev option for install and update. The option above it (COMPOSER_NO_AUDIT) references require so it makes it seem as though perhaps this doesn't apply to require - although it would be strange if it did not.

Testing suggest that it does in fact work as indicated on the --update-no-dev option.

Before
image

After
image

Referenced require first as otherwise it seems less confusing with multiple levels of or.

COMPOSER_NO_DEV applies to composer require as well.
@Seldaek Seldaek merged commit 9555ae1 into composer:main May 2, 2023
@Seldaek
Copy link
Member

Seldaek commented May 2, 2023

Makes sense thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants