-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
composer.json
65 lines (65 loc) · 1.99 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
{
"name": "typhonius/acquia_cli",
"description": "A Robo CLI tool for integrating with Acquia CloudAPI",
"authors": [
{
"name": "Adam Malone",
"email": "[email protected]"
}
],
"license": "MIT",
"require": {
"php": ">=7.3",
"typhonius/acquia-php-sdk-v2": "^2.0.0",
"typhonius/acquia-logstream": "^0.0.7",
"consolidation/robo": "^2",
"symfony/lock": "^5.2.0",
"symfony/yaml": "^5.2.0",
"symfony/cache": "^4|^5",
"webmozart/path-util": "^2.3"
},
"bin": ["bin/acquiacli"],
"autoload":{
"psr-4":{
"AcquiaCli\\":"src"
}
},
"autoload-dev": {
"psr-4":{
"AcquiaCli\\Tests\\": "tests/"
}
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.0.0",
"squizlabs/php_codesniffer": "^3.1",
"phpstan/phpstan": "^0.11.19",
"phpunit/phpunit": "^9.4",
"phpstan/phpstan-phpunit": "^0.11.2"
},
"scripts": {
"phar:install-tools": [
"mkdir -p tools",
"curl -L https://github.com/humbug/box/releases/download/3.8.4/box.phar -o tools/box",
"chmod +x tools/box"
],
"phar:build": "php tools/box compile",
"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=PSR2 -n src tests",
"unit": "php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude='~vendor~' ./vendor/bin/phpunit --configuration=phpunit.xml --testdox",
"stan": "phpstan analyse --level 7 src tests",
"test": [
"@lint",
"@unit",
"@cs",
"@stan"
],
"release": [
"release VERSION"
],
"coveralls": "php ./vendor/bin/php-coveralls -v"
}
}