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

Removed composer.lock #11

Merged
merged 1 commit into from
Oct 12, 2017
Merged

Conversation

joaorobertopb
Copy link
Contributor

  • Added composer.lock to .gitignore file
  • Organizing .gitignore file

- Added composer.lock to .gitignore file
- Organizing .gitignore file
.twgit_features_subject

composer.lock
Copy link
Owner

Choose a reason for hiding this comment

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

The composer.lock should always be committed.

Choose a reason for hiding this comment

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

No, not for packages. When used in a package it only serves to speed up CI builds. The projects that require this package will ignore the lock file entirely. Only a top-level lock file is ever used by Composer. This also means that CI won't run against the latest dependencies as would happen when used in actual projects / applications.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is not common committed composer.lock in packages.

@thecrypticace great explanation!

Copy link
Owner

Choose a reason for hiding this comment

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

@joaorobertopb @thecrypticace You guys are both right. Thanks for the explanation!

@nunomaduro nunomaduro merged commit d6371d4 into nunomaduro:stable Oct 12, 2017
@nunomaduro
Copy link
Owner

Thanks for the contribution! 👍

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.

3 participants