-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
50 lines (50 loc) · 1.46 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "typhonius/drift-php",
"description": "A PHP SDK for Drift",
"authors": [
{
"name": "Adam Malone",
"email": "adam@adammalone.net"
}
],
"license": "MIT",
"require": {
"guzzlehttp/guzzle": "^7.2"
},
"autoload": {
"psr-4": {
"Drift\\Client\\": "src/Client",
"Drift\\Endpoints\\": "src/Endpoints",
"Drift\\Models\\": "src/Models",
"Drift\\Response\\": "src/Response"
}
},
"autoload-dev": {
"psr-4": {
"Drift\\Tests\\": "tests/"
}
},
"require-dev": {
"squizlabs/php_codesniffer": "3.*",
"phpunit/phpunit": "^9",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-phpunit": "^0.12"
},
"scripts": {
"lint": [
"find src -name '*.php' -print0 | xargs -0 -n1 php -l",
"find tests -name '*.php' -print0 | xargs -0 -n1 php -l"
],
"cs": "phpcs --standard=PSR12 -n src tests --ignore=./tests/logs/*",
"cbf": "phpcbf --standard=PSR12 -n src tests --ignore=./tests/logs/*",
"unit": "php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude='~vendor~' ./vendor/bin/phpunit --configuration=phpunit.xml --testdox",
"stan": "phpstan analyse",
"test": [
"@lint",
"@unit",
"@cs",
"@stan"
],
"coveralls": "php ./vendor/bin/php-coveralls -v"
}
}