Skip to content

Commit 6d165a6

Browse files
committed
add tests
1 parent 27b21eb commit 6d165a6

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,10 @@ Contributors since I forked the repo.
9090
### License (BSD License)
9191

9292
see [License](LICENSE)
93+
94+
## tests
95+
96+
```BASH
97+
composer run-script php_src
98+
composer run-script php_test
99+
```

composer.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,16 @@
2222
"ext-mbstring": "*"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "7.*"
25+
"phpunit/phpunit": "7.*",
26+
"squizlabs/php_codesniffer": "*"
2627
},
2728
"autoload": {
2829
"psr-4": {
2930
"jblond\\": "lib/jblond"
3031
}
32+
},
33+
"scripts": {
34+
"php_src": "phpcs --standard=phpcs.xml -s -p --colors ./lib/",
35+
"php_test": "phpcs --standard=phpcs.xml -s -p --colors ./tests/"
3136
}
3237
}

0 commit comments

Comments
 (0)