This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
83 lines (83 loc) · 2.66 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
{
"name": "vysokeskoly/image-bundle",
"description": "Bundle for loading and generating images",
"type": "symfony-bundle",
"require": {
"php": "^8.1",
"ext-curl": "*",
"ext-mbstring": "*",
"beberlei/assert": "^3.0",
"imagine/imagine": "^1.3",
"sensio/framework-extra-bundle": "^5.0 || ^6.0",
"symfony/config": "^5.0 || ^6.0",
"symfony/dependency-injection": "^5.0 || ^6.0",
"symfony/http-foundation": "^5.0 || ^6.0",
"symfony/http-kernel": "^5.0 || ^6.0",
"symfony/options-resolver": "^5.0 || ^6.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28",
"mockery/mockery": "^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"
},
"autoload": {
"psr-4": {
"VysokeSkoly\\ImageBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"VysokeSkoly\\ImageBundle\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": 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",
"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"
]
}
}