-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathcomposer.json
61 lines (61 loc) · 1.91 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
{
"name": "pnz/mattermost-client",
"description": "Mattermost APi Client for PHP",
"license": "MIT",
"type": "library",
"keywords": ["api", "mattermost"],
"authors": [
{
"name": "Emanuele Panzeri - ThePanz",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"ext-json": "*",
"php": "^7.4 || ^8.0",
"php-http/httplug": "^2.0",
"php-http/multipart-stream-builder": "^1.1",
"php-http/client-common": "^2.0",
"php-http/discovery": "^1.7",
"pnz/json-exception": "^1.0"
},
"require-dev": {
"nyholm/psr7": "^1.2.1",
"php-http/curl-client": "^2.0",
"php-http/message": "^1.8",
"php-http/message-factory": "^1.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan-phpunit": "^0.11.2",
"phpstan/phpstan-shim": "^0.11",
"phpunit/phpunit": "^7.5",
"psr/http-message": "^1.0.1"
},
"autoload": {
"psr-4": {
"Pnz\\MattermostClient\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Pnz\\MattermostClient\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "0.1.x-dev"
}
},
"scripts": {
"ci": ["@phpcs", "@phpstan", "@test-ci" ],
"phpstan": "vendor/bin/phpstan analyze --level=7 src/ tests/",
"phpcs": "vendor/bin/php-cs-fixer fix --dry-run --verbose --ansi",
"phpcs-install": "curl -L https://cs.symfony.com/download/php-cs-fixer-v2.phar -o vendor/bin/php-cs-fixer && chmod u+x vendor/bin/php-cs-fixer",
"phpcs-fix": "vendor/bin/php-cs-fixer fix --verbose --ansi",
"test": "vendor/bin/phpunit",
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
}
}