forked from BambooHR/bhr-api-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
34 lines (34 loc) · 911 Bytes
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"name": "bamboohr/api",
"require": {
"php": "^5.5 || ^7 || ^8",
"ext-curl": "*"
},
"autoload": {
"psr-4": {
"BambooHR\\API\\": "BambooHR",
"BambooHR\\API\\Tests\\": "tests"
}
},
"require-dev": {
"phpunit/phpunit": "^4.8|^5.4",
"sebastian/phpcpd": "^2.0",
"squizlabs/php_codesniffer": "^3.2",
"phpmd/phpmd": "^2.4",
"bamboohr/phpcs": "^1.0"
},
"scripts": {
"lint" : [
"find -L BambooHR tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l"
],
"test": [
"@lint",
"vendor/bin/phpunit --strict-coverage"
],
"quality": [
"sh vendor/bin/phpcpd BambooHR",
"sh vendor/bin/phpcs --standard=phpcs.xml BambooHR",
"sh vendor/bin/phpmd BambooHR text phpmd.xml"
]
}
}