forked from typhonius/acquia-php-sdk-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
70 lines (70 loc) · 2.15 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "typhonius/acquia-php-sdk-v2",
"description": "A PHP SDK for Acquia CloudAPI v2",
"authors": [
{
"name": "Adam Malone",
"email": "adam@adammalone.net"
}
],
"license": "MIT",
"require": {
"php": "^7.4 | ^8.0.2 | ^8.1",
"guzzlehttp/guzzle": "^7.2",
"league/oauth2-client": "^2.4",
"symfony/cache": "^5 | ^6",
"symfony/filesystem": "^5.4 | ^6",
"webmozart/path-util": "^2.3"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.0.0",
"phpunit/phpunit": "^9",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"squizlabs/php_codesniffer": "3.*",
"eloquent/phony-phpunit": "^7",
"ext-json": "*"
},
"autoload": {
"psr-4": {
"AcquiaCloudApi\\Connector\\": "src/Connector",
"AcquiaCloudApi\\Endpoints\\": "src/Endpoints",
"AcquiaCloudApi\\Response\\": "src/Response",
"AcquiaCloudApi\\Exception\\": "src/Exception"
}
},
"autoload-dev": {
"psr-4": {
"AcquiaCloudApi\\Tests\\": "tests/",
"League\\OAuth2\\Client\\Test\\": "vendor/league/oauth2-client/test/src/"
}
},
"config": {
"platform": {
"php": "7.4"
},
"preferred-install": {
"league/oauth2-client": "source"
}
},
"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"
],
"release": [
"release VERSION"
],
"coveralls": "php ./vendor/bin/php-coveralls -v"
}
}