[php] Exclude composer.lock in root gitignore (#7224)

* Add samples composer.lock to root .gitignore

composer.lock may produce CI errors when you need to test build against
different PHP versions. However users most likely want to commit this
file, so I think it's better to exclude it only in root .gitignore.

* Commit composer.lock in default PHP templates

* Refresh samples
This commit is contained in:
Yuriy Belenko
2020-08-16 19:13:50 +03:00
committed by GitHub
parent 31d5652c3d
commit 9a03850828
9 changed files with 15 additions and 8 deletions

View File

@@ -31,7 +31,7 @@
# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
composer.lock
# composer.lock
# Assets and user uploads
/web/bundles/