diff --git a/.gitignore b/.gitignore
index 1423dc8..892e500 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
 lib/*
 tests/phpunit.xml
+vendor
+composer.lock
diff --git a/composer.json b/composer.json
index afe754b..eefb0a5 100644
--- a/composer.json
+++ b/composer.json
@@ -20,5 +20,8 @@
   ],
   "require": {
     "php": ">=5.3.5"
+  },
+  "require-dev": {
+    "phpunit/phpunit": "3.7.*"
   }
 }
