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

Composer: avoid writing a lock file #307

Merged
merged 2 commits into from
Apr 21, 2024

Conversation

fredden
Copy link
Member

@fredden fredden commented Apr 19, 2024

When working with this repository as a developer, we should be using the latest compatible packages. By writing a lock file for Composer, we may get into a state where we are "stuck" on an older version of a dependency. This change avoids such a situation by telling Composer to not write out a lock file in the project.

@jrfnl jrfnl added this to the 1.2.x Next milestone Apr 19, 2024
Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fredden ! The change itself looks good to me, but this will need a change in the quicktest.yml and the test.yml workflows to get the builds working again.

I've fixed the (unrelated) failure re: the markdown, so once you rebase, that workflow shouldn't fail anymore.

@fredden fredden force-pushed the feature/composer.lock-false branch from d316c7a to b6bf812 Compare April 21, 2024 17:08
@fredden fredden requested a review from jrfnl April 21, 2024 17:16
Copy link
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fredden ! All good now.

@jrfnl jrfnl merged commit cd881d3 into PHPCSStandards:develop Apr 21, 2024
33 checks passed
@fredden fredden deleted the feature/composer.lock-false branch April 22, 2024 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants