-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
91 lines (91 loc) · 2.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
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
{
"name": "vysokeskoly/logging-bundle",
"description": "Extended logging options in Symfony applications",
"license": "proprietary",
"type": "symfony-bundle",
"authors": [
{
"name": "Petr Chromec",
"email": "mortal_flesh@seznam.cz"
}
],
"require": {
"php": "^8.1",
"ext-mbstring": "*",
"ext-sockets": "*",
"graylog2/gelf-php": "^1.7",
"monolog/monolog": "^3.1",
"symfony/console": "^5.3 || ^6.0",
"symfony/dependency-injection": "^5.3 || ^6.0",
"symfony/doctrine-bridge": "^5.3 || ^6.0",
"symfony/framework-bundle": "^5.3 || ^6.0",
"symfony/monolog-bundle": "^3.0",
"symfony/security-core": "^5.3 || ^6.0",
"symfony/stopwatch": "^5.3 || ^6.0",
"symfony/var-dumper": "^5.3 || ^6.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28",
"php-mock/php-mock-phpunit": "^2.2",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^9.5.20",
"symfony/yaml": "^5.3 || ^6.0"
},
"autoload": {
"psr-4": {
"VysokeSkoly\\LoggingBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"VysokeSkoly\\LoggingBundle\\": "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",
"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"
]
}
}