-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
152 lines (152 loc) · 4.79 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "vysokeskoly/image-api",
"description": "Image Api as Storage for images",
"license": "proprietary",
"type": "project",
"version": "2.1.3",
"require": {
"php": "^8.1",
"ext-libxml": "*",
"ext-simplexml": "*",
"beberlei/assert": "^3.2",
"consolidation/robo": "^3.0",
"doctrine/annotations": "^1.13",
"mf/collections-php": "^7.0",
"symfony/asset": "^6.1",
"symfony/console": "^6.1",
"symfony/dotenv": "^6.1",
"symfony/expression-language": "^6.1",
"symfony/flex": "^2.2",
"symfony/form": "^6.1",
"symfony/framework-bundle": "^6.1",
"symfony/http-client": "^6.1",
"symfony/intl": "^6.1",
"symfony/mailer": "^6.1",
"symfony/mime": "^6.1",
"symfony/monolog-bundle": "^3.1",
"symfony/notifier": "^6.1",
"symfony/process": "^6.1",
"symfony/property-access": "^6.1",
"symfony/property-info": "^6.1",
"symfony/proxy-manager-bridge": "^6.1",
"symfony/security-bundle": "^6.1",
"symfony/serializer": "^6.1",
"symfony/stopwatch": "^6.1",
"symfony/string": "^6.1",
"symfony/translation": "^6.1",
"symfony/twig-bundle": "^6.1",
"symfony/validator": "^6.1",
"symfony/web-link": "^6.1",
"symfony/web-profiler-bundle": "^6.1",
"symfony/yaml": "^6.1",
"thecodingmachine/safe": "^2.4",
"twig/extra-bundle": "^3.0",
"twig/twig": "^3.0",
"vysokeskoly/deb-build": "^7.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28",
"mockery/mockery": "^1.4",
"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"
},
"replace": {
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php72": "*"
},
"conflict": {
"symfony/symfony": "*"
},
"autoload": {
"psr-4": {
"VysokeSkoly\\ImageApi\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"VysokeSkoly\\ImageApi\\": "tests"
}
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"symfony/flex": true,
"phpstan/extension-installer": true,
"ergebnis/composer-normalize": true
},
"bin-dir": "bin",
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
},
"sort-packages": true
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "^6.1"
}
},
"scripts": {
"post-install-cmd": [
"@installTools",
"@auto-scripts"
],
"post-update-cmd": [
"@updateTools",
"@auto-scripts"
],
"all": [
"@analyze",
"@phpstan",
"@test"
],
"analyze": [
"@rector",
"@cs",
"@lint"
],
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
},
"cs": [
"bin/ecs check --ansi -- src/ tests/"
],
"fix": [
"@composer normalize",
"bin/rector process --clear-cache -- src",
"bin/ecs check --ansi --clear-cache --fix -- src/ tests/"
],
"installTools": [
"cd tools/coding-standards && composer install && composer link",
"cd tools/pre-build && composer install && composer link",
"cd tools/rector && composer install && composer link"
],
"lint": [
"@composer validate",
"@composer normalize --dry-run",
"bin/console lint:twig templates",
"bin/console lint:yaml src config templates translations",
"bin/parallel-lint -j 10 -e php ./src ./tests ecs.php"
],
"phpstan": "bin/phpstan analyze -l 8 -c phpstan.neon src tests",
"rector": [
"bin/rector process --dry-run -- src"
],
"test": "bin/phpunit -c phpunit.xml.dist",
"tests-ci": "mkdir -p code-coverage && php -dxdebug.coverage_enable=1 bin/phpunit -c phpunit.xml.dist",
"updateTools": [
"cd tools/coding-standards && composer update && composer link",
"cd tools/pre-build && composer update && composer link",
"cd tools/rector && composer update && composer link"
]
}
}