Skip to content

Commit 3e5e13d

Browse files
authored
Merge pull request #4 from phpversions/feature/static-analysis
Feature/static analysis
2 parents b50590f + 8a28312 commit 3e5e13d

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ script:
2626
- composer run phpstan
2727
- travis_wait ./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
2828
- ./vendor/bin/phpcs src tests --standard=psr2 -sp
29+
- ./vendor/bin/phpstan analyse src --level=7
2930

3031
after_success:
3132
- travis_retry php vendor/bin/coveralls

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"crysalead/kahlan": "~1.2",
66
"phpunit/phpunit": "^7.5",
77
"squizlabs/php_codesniffer": "^3.4",
8-
"phpstan/phpstan": "^0.10.7"
8+
"phpstan/phpstan": "^0.10.8"
99
},
1010
"authors": [
1111
{
@@ -32,7 +32,7 @@
3232
"phpcs": "phpcs src tests --standard=psr2 -sp --colors",
3333
"phpstan": [
3434
"vendor/bin/phpstan analyse src --level max --no-progress",
35-
"vendor/bin/phpstan analyse src --level 4 --no-progress"
35+
"vendor/bin/phpstan analyse src --level 7 --no-progress"
3636
],
3737
"phpunit": "phpunit --verbose --colors=always",
3838
"test": [

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)