v4.0.2: Added phpstan to do static code analysis + fixed found bugs (#51)
* Set up PHPStan to run automatically via make & travis-ci * Updated makefile to download composer.phar only once * Fixed return value that should be null instead of void * Fixed exception returned that should be concrete exception and not the interface provided by Doctrine.