Skip to content

Commit

Permalink
Enable PHPStan
Browse files Browse the repository at this point in the history
And update deps
  • Loading branch information
j0k3r committed Jan 20, 2019
1 parent 08f37b6 commit d196c5e
Show file tree
Hide file tree
Showing 7 changed files with 967 additions and 120 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ before_script:
script:
- ./bin/simple-phpunit -v $PHPUNIT_FLAGS
- if [ "$CS_FIXER" = "run" ]; then php bin/php-cs-fixer fix --verbose --dry-run ; fi;
- if [ "$CS_FIXER" = "run" ]; then php bin/phpstan analyse src tests --no-progress --level 1 ; fi;

after_success:
- |
Expand Down
14 changes: 9 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"knpuniversity/oauth2-client-bundle": "^1.9",
"league/oauth2-github": "^2.0",
"marcw/rss-writer": "^0.4",
"ocramius/proxy-manager": "^1.0",
"ocramius/proxy-manager": "^2.1",
"odolbeau/rabbit-mq-admin-toolkit": "^4.0",
"php-amqplib/php-amqplib": "^2.6",
"php-http/cache-plugin": "^1.3",
Expand All @@ -49,12 +49,16 @@
"twig/twig": "^1.0||^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~2.0",
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^4.0",
"doctrine/doctrine-fixtures-bundle": "^3.0",
"friendsofphp/php-cs-fixer": "~2.0",
"m6web/redis-mock": "dev-predis-1.x",
"php-coveralls/php-coveralls": "^2.0",
"m6web/redis-mock": "dev-predis-1.x"
"phpstan/phpstan": "^0.11.1",
"phpstan/phpstan-doctrine": "^0.11.0",
"phpstan/phpstan-phpunit": "^0.11.0",
"phpstan/phpstan-symfony": "^0.11.0",
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^4.0"
},
"scripts": {
"symfony-scripts": [
Expand Down

0 comments on commit d196c5e

Please sign in to comment.