Skip to content

Feature #12750: More precise warning message when lockfile creation is disabled in config#12760

Merged
Seldaek merged 1 commit into
composer:mainfrom
Jay-Way:feature_12750/better_lock_warning
Mar 16, 2026
Merged

Feature #12750: More precise warning message when lockfile creation is disabled in config#12760
Seldaek merged 1 commit into
composer:mainfrom
Jay-Way:feature_12750/better_lock_warning

Conversation

@Jay-Way
Copy link
Copy Markdown
Contributor

@Jay-Way Jay-Way commented Mar 8, 2026

  • Print a more precise warning message when lockfile creation is disabled in composer.json config
  • Update test case install-without-lock.test to check for the new message

Fixes #12750

@Seldaek
Copy link
Copy Markdown
Member

Seldaek commented Mar 16, 2026

Great, thanks for including a test too :)

@Seldaek Seldaek added this to the 2.10 milestone Mar 16, 2026
@Seldaek Seldaek merged commit f9eb6b5 into composer:main Mar 16, 2026
21 checks passed
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.

Disable "No composer.lock file present" Warning when Lockfiles Intentionally Disabled / Uncommitted

2 participants