Skip to content

Commit e8a3f71

Browse files
committed
add phpunit test to composer
1 parent 6d165a6 commit e8a3f71

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ see [License](LICENSE)
9494
## tests
9595

9696
```BASH
97+
composer run-script phpunit
9798
composer run-script php_src
9899
composer run-script php_test
99100
```

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
}
3232
},
3333
"scripts": {
34+
"phpunit": "phpunit ./tests/",
3435
"php_src": "phpcs --standard=phpcs.xml -s -p --colors ./lib/",
3536
"php_test": "phpcs --standard=phpcs.xml -s -p --colors ./tests/"
3637
}

0 commit comments

Comments
 (0)