-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
executable file
·98 lines (98 loc) · 2.4 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "inspirum/balikobot",
"description": "PHP library for Balikobot API",
"keywords": [
"balikobot",
"api-client"
],
"homepage": "https://github.com/inspirum/balikobot-php",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Tomáš Novotný",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"guzzlehttp/psr7": "^1.5 || ^2.0",
"inspirum/arrayable": "^1.3",
"psr/http-message": "^1.1 || ^2.0"
},
"require-dev": {
"ext-zlib": "*",
"inspirum/coding-standard": "^1.6",
"inspirum/phpunit-extension": "^1.1",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^10.5 || ^11.0",
"shipmonk/composer-dependency-analyser": "^1.8",
"squizlabs/php_codesniffer": "^3.11"
},
"autoload": {
"psr-4": {
"Inspirum\\Balikobot\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Inspirum\\Balikobot\\Tests\\": "tests"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"process-timeout": 600
},
"scripts": {
"test": [
"@style:phpcs",
"@test:unit",
"@style:phpstan",
"@test:integration",
"@check:dependency"
],
"test:test": [
"@test:unit",
"@test:integration"
],
"test:unit": [
"@phpunit --testsuite=Unit --display-notices"
],
"test:integration": [
"@phpunit --testsuite=Integration --display-notices --display-incomplete"
],
"test:coverage": [
"@phpunit --coverage-text --coverage-html=var/phpunit/coverage"
],
"test:unit:coverage": [
"@phpunit --testsuite=Unit --coverage-text --coverage-html=var/phpunit/coverage"
],
"style:phpcs": [
"@phpcs"
],
"style:phpstan": [
"@phpstan -l 8"
],
"style:check": [
"@style:phpcs",
"@style:phpstan"
],
"style:fix": [
"@phpcbf src tests"
],
"check:dependency": [
"@composer-dependency-analyser"
],
"phpunit": "./vendor/bin/phpunit",
"phpcs": "./vendor/bin/phpcs -p -s --extensions=php --colors --report-width=140",
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon",
"phpcbf": "./vendor/bin/phpcbf -p --extensions=php",
"composer-dependency-analyser": "./vendor/bin/composer-dependency-analyser"
}
}