-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
59 lines (59 loc) · 1.78 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
{
"name": "typhonius/acquia-logstream",
"description": "PHP library to connect to Acquia Logstream service",
"authors": [
{
"name": "Adam Malone",
"email": "adam@adammalone.net"
}
],
"license": "MIT",
"require": {
"typhonius/acquia-php-sdk-v2": "^2 | ^3",
"ratchet/pawl": "^0.4.1",
"symfony/console": "^5 | ^6",
"php": "^7.4 | ^8.0.3 | ^8.1",
"consolidation/self-update": "^1.2 | ^2.0 | ^3.0"
},
"autoload": {
"psr-4": {
"AcquiaLogstream\\": "src"
}
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.1",
"phpstan/phpstan": "^2.0.1",
"phpunit/phpunit": "^9.4",
"php-coveralls/php-coveralls": "^2.0.0"
},
"scripts": {
"phar:install-tools": [
"mkdir -p tools",
"curl -L https://github.com/box-project/box/releases/download/3.16.0/box.phar -o tools/box",
"chmod +x tools/box"
],
"phar:build": "env PATH=tools:$PATH 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 -s --standard=PSR12 ./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 --level 5 src",
"test": [
"@lint",
"@unit",
"@cs",
"@stan"
],
"coveralls": "php-coveralls -v",
"release": [
"release VERSION"
]
},
"config": {
"platform": {
"php": "7.4"
}
}
}