Skip to content

Commit 5451e77

Browse files
committed
ignore composer.lock
Facts: 1. When WP-CLI isn't installed as the root package, composer.lock is ignored. 2. The wp-cli.org installer doesn't install WP-CLI as the root package, but as a dependency. 1. + 2. => Having composer.lock under version control gives a false sense of security. Instead, we should take more care with how we define dependencies in composer.json
1 parent 933a1ae commit 5451e77

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
composer.lock
12
composer.phar
23
/vendor
34
/phpunit.xml

0 commit comments

Comments
 (0)