-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
96 lines (96 loc) · 2.93 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
{
"name": "vysokeskoly/image-api-sdk",
"description": "SDK for Image Api",
"license": "MIT",
"authors": [
{
"name": "Petr Chromec",
"email": "mortal_flesh@seznam.cz"
}
],
"require": {
"php": "^8.1",
"ext-imagick": "*",
"ext-json": "*",
"ext-mbstring": "*",
"beberlei/assert": "^3.0",
"imagine/imagine": "^1.3",
"lmc/cqrs-http": "^3.0",
"php-http/multipart-stream-builder": "^1.2"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28",
"kriswallsmith/buzz": "^1.2",
"lmc/cqrs-handler": "^2.0",
"mockery/mockery": "^1.5",
"nyholm/psr7": "^1.5",
"php-mock/php-mock-mockery": "^1.3",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-beberlei-assert": "^1.0",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^9.5.20",
"symfony/var-dumper": "^6.0"
},
"suggest": {
"lmc/cqrs-bundle": "^1.3",
"lmc/cqrs-handler": "^1.3"
},
"autoload": {
"psr-4": {
"VysokeSkoly\\ImageApi\\Sdk\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"VysokeSkoly\\ImageApi\\Sdk\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"php-http/discovery": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"post-install-cmd": [
"@installTools"
],
"post-update-cmd": [
"@updateTools"
],
"all": [
"@lint",
"@analyze",
"@tests"
],
"analyze": [
"@cs",
"@phpstan"
],
"cs": "vendor/bin/ecs check --ansi -- src/ tests/ ecs.php",
"fix": [
"@composer normalize",
"vendor/bin/ecs check src/ tests/ ecs.php --ansi --fix"
],
"installTools": [
"cd tools/coding-standards && composer install && composer link"
],
"lint": [
"vendor/bin/parallel-lint -j 10 -e php ./src ./tests ecs.php",
"@composer validate",
"@composer normalize --dry-run"
],
"phpstan": "vendor/bin/phpstan analyze ./src ./tests -c phpstan.neon --ansi --level 8",
"phpstan-src": "vendor/bin/phpstan analyze ./src -c phpstan.neon --ansi --level 8",
"tests": "./vendor/bin/phpunit --colors=always",
"tests-ci": "./vendor/bin/phpunit -c phpunit.xml.dist --coverage-html=reports/html --coverage-clover=reports/clover.xml --log-junit=reports/junit.xml",
"updateTools": [
"cd tools/coding-standards && composer update && composer link"
]
}
}