Skip to content

Commit 4d4eff4

Browse files
author
Andrew McLagan
committed
Updating readme
1 parent e6627ec commit 4d4eff4

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ For bug reports, please [open an issue on GitHub](https://github.com/rollbar/rol
4747

4848
## Testing
4949
Tests are in `tests`.
50-
To run the tests: `composer test`
51-
To fix code style issues: `composer fix`
50+
* To run the tests: `composer test`
51+
* To fix code style issues: `composer fix`
5252

5353
## Docker
5454
Docker binaries are located in `./bin` and can be run by simply executing `bin/phpunit` for example.
55-
To run tests: `bin/phpunit`
56-
To run all supported versions: `bin/phpunit-versions`
57-
To run composer : `bin/composer install` OR `bin/composer update`
55+
* To run tests: `bin/phpunit`
56+
* To run all supported versions: `bin/phpunit-versions`
57+
* To run composer : `bin/composer install` OR `bin/composer update`

bin/phpcs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
docker run -it --rm \
6+
-e "TERM=xterm-256color" \
7+
-v "$PWD":/usr/src \
8+
-w /usr/src \
9+
php:7.2-cli-alpine \
10+
vendor/bin/phpcs --standard=PSR1,PSR2 src tests
11+

bin/phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ docker run -it --rm \
77
-v "$PWD":/usr/src \
88
-w /usr/src \
99
php:7.2-cli-alpine \
10-
vendor/bin/phpunit "$@"
10+
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
1111

0 commit comments

Comments
 (0)