Skip to content

Commit

Permalink
Updates composer.lock and adds coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonius committed Mar 21, 2020
1 parent 92ed314 commit 1e5e5be
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ script:
- composer lint
- composer sniff
- composer stan

after_script:
- cd ${TRAVIS_BUILD_DIR}
- composer coveralls
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@
}
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.0.0",
"squizlabs/php_codesniffer": "^3.1",
"phpstan/phpstan": "^0.11.19"
},
"scripts": {
"lint": "php -l ./src/",
"sniff": "./vendor/bin/phpcs -s --standard=PSR2 ./src/",
"stan": "./vendor/bin/phpstan analyse --level 7 src"
"sniff": "./vendor/bin/phpcs -s --standard=PSR2 ./src/ ./tests/",
"test": "./vendor/bin/phpunit --coverage-clover ./tests/logs/clover.xml",
"stan": "./vendor/bin/phpstan analyse --level 7 src tests",
"coveralls": "php ./vendor/bin/php-coveralls -v"
}
}
199 changes: 198 additions & 1 deletion composer.lock

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

0 comments on commit 1e5e5be

Please sign in to comment.