forked from theorchard/monolog-cascade
-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
73 lines (73 loc) · 2.33 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
{
"name": "theorchard/monolog-cascade",
"license": "MIT",
"type": "library",
"description": "Monolog extension to configure multiple loggers in the blink of an eye and access them from anywhere",
"keywords": [
"monolog",
"cascade",
"monolog extension",
"monolog plugin",
"monolog utils",
"logger",
"log"
],
"require": {
"php": "^8.1",
"symfony/config": "^6.1",
"symfony/options-resolver": "^6.1",
"symfony/serializer": "^6.1",
"symfony/yaml": "^6.1",
"monolog/monolog": "^3.2"
},
"require-dev": {
"mikey179/vfsstream": "^1.6",
"phpunit/phpcov": "^8.2",
"phpunit/phpunit": "^9.5",
"php-coveralls/php-coveralls": "^2.5",
"squizlabs/php_codesniffer": "^3.7",
"phpstan/phpstan": "^1.8",
"friendsofphp/php-cs-fixer": "^3.12",
"michaelmoussa/php-coverage-checker": "^1.1"
},
"scripts": {
"security-check": [
"curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir=/usr/local/bin",
"symfony check:security"
],
"test:unit:base": [
"php -d pcov.enabled=1 vendor/bin/phpunit --color=always"
],
"test:unit": [
"@test:unit:base --log-junit build/junit.xml --coverage-xml build/coverage-xml --coverage-clover build/coverage-clover.xml"
],
"test:unit:with-html-coverage": [
"@test:unit:base --coverage-html build/coverage-html"
],
"test:unit:no-coverage": [
"@test:unit:base --no-coverage"
],
"test:unit:coverage-checker": [
"php-coverage-checker build/coverage-clover.xml 100; # comment trick to allow composer params :D"
],
"test:unit:check": [
"if [ -f build/coverage-clover.xml ]; then rm build/coverage-clover.xml; echo '>>> REMOVED OLD CLOVER.XML BUILD FILE!'; fi;",
"@test:unit",
"@test:unit:coverage-checker"
],
"static-analysis": [
"phpstan analyse --ansi --memory-limit=-1"
]
},
"autoload": {
"psr-4": {
"Cascade\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cascade\\Tests\\": "tests/"
}
},
"prefer-stable": true
}