From 4b146cb82457045600a84ffac0e57005a580d562 Mon Sep 17 00:00:00 2001 From: scribu Date: Sun, 23 Jun 2013 14:45:44 +0300 Subject: [PATCH] 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 --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 325d475d..03f9ead5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +composer.lock composer.phar /vendor /phpunit.xml