-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
88 lines (88 loc) · 2.68 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
{
"name": "lmc/matej-client",
"description": "API Client for Matej recommendation engine",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "LMC s.r.o.",
"homepage": "https://github.com/lmc-eu"
}
],
"require": {
"php": "^7.3 || ^8.0",
"ext-hash": "*",
"ext-json": "*",
"beberlei/assert": "^2.8 || ^3.0",
"fig/http-message-util": "^1.1",
"myclabs/php-enum": "^1.6",
"php-http/client-common": "^1.6 || ^2.0",
"php-http/client-implementation": "^1.0",
"php-http/discovery": "^1.0",
"php-http/httplug": "^1.1 || ^2.0",
"php-http/message": "^1.6",
"php-http/message-factory": "^1.0",
"php-http/promise": "^1.0",
"psr/http-message": "^1.0",
"ramsey/uuid": "^3.7 || ^4.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.4",
"http-interop/http-factory-guzzle": "^1.2",
"lmc/coding-standard": "^3.0.0",
"php-coveralls/php-coveralls": "^2.4",
"php-http/guzzle6-adapter": "^1.1.1 || ^2.0",
"php-http/mock-client": "^1.0",
"php-mock/php-mock-phpunit": "^2.1.2",
"php-parallel-lint/php-parallel-lint": "^1.1",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^9.6.15",
"symfony/var-dumper": "^4.0 || ^5.0"
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"Lmc\\Matej\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Lmc\\Matej\\": "tests/unit/",
"Lmc\\Matej\\IntegrationTests\\": "tests/integration/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"php-http/discovery": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"all": [
"@lint",
"@analyze",
"@test"
],
"analyze": [
"vendor/bin/ecs check src/ tests/ ecs.php --ansi",
"vendor/bin/phpstan analyze -c phpstan.neon --ansi"
],
"fix": [
"@composer normalize",
"./vendor/bin/ecs check ./src/ ./tests/ ecs.php --ansi --fix"
],
"lint": [
"vendor/bin/parallel-lint -j 10 ./src ./tests ecs.php",
"@composer validate",
"@composer normalize --dry-run"
],
"test": [
"./vendor/bin/phpunit --colors=always"
]
}
}