Skip to content

Commit

Permalink
Merge pull request #4 from phpversions/feature/static-analysis
Browse files Browse the repository at this point in the history
Feature/static analysis
  • Loading branch information
matthewtrask authored Jan 10, 2019
2 parents b50590f + 8a28312 commit 3e5e13d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ script:
- composer run phpstan
- travis_wait ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
- ./vendor/bin/phpcs src tests --standard=psr2 -sp
- ./vendor/bin/phpstan analyse src --level=7

after_success:
- travis_retry php vendor/bin/coveralls
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"crysalead/kahlan": "~1.2",
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "^3.4",
"phpstan/phpstan": "^0.10.7"
"phpstan/phpstan": "^0.10.8"
},
"authors": [
{
Expand All @@ -32,7 +32,7 @@
"phpcs": "phpcs src tests --standard=psr2 -sp --colors",
"phpstan": [
"vendor/bin/phpstan analyse src --level max --no-progress",
"vendor/bin/phpstan analyse src --level 4 --no-progress"
"vendor/bin/phpstan analyse src --level 7 --no-progress"
],
"phpunit": "phpunit --verbose --colors=always",
"test": [
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e5e13d

Please sign in to comment.