-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
68 lines (68 loc) · 1.82 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
{
"name": "fahl-design/log4php-slack-appender",
"description": "A log4php appender build as wrapper for maknz/slack package",
"keywords": ["log", "logging", "php", "slack"],
"license": "MIT",
"authors": [
{
"name": "Benjamin Fahl",
"email": "[email protected]",
"role": "developer"
}
],
"config": {
"optimize-autoloader": true
},
"prefer-stable": true,
"require": {
"php": "^7.1 || ^8.0",
"apache/log4php": "^2.3",
"alek13/slack": "^1",
"ext-json": "*",
"ext-curl": "*"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"codeception/codeception": "^4",
"codeception/module-asserts": "^2",
"codeception/mockery-module": "^0",
"mockery/mockery": "^1.0",
"friendsofphp/php-cs-fixer": "3.*",
"monolog/monolog": "2.*",
"codacy/coverage": "1.*",
"symfony/var-dumper": "^4.0 || ^5.3"
},
"autoload": {
"psr-4": {
"WebProject\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"WebProject\\Tests\\Helper\\": "tests/_support",
"WebProject\\Tests\\Unit\\Log4php\\": "tests/unit"
}
},
"extra": {
"branch-alias": {
"dev-develop": "1.x-dev"
}
},
"scripts": {
"php-cs-fixer": "php-cs-fixer fix -v --path-mode=intersection --config=.php_cs",
"run-tests": [
"./vendor/bin/codecept run"
],
"cs-check": [
"./vendor/bin/php-cs-fixer fix --dry-run -vv"
],
"coverage": [
"echo 'Activating xDebug'",
"echo 'zend_extension=xdebug.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini || return 0",
"echo 'Build coverage'",
"./vendor/bin/codecept run --coverage --coverage-xml=coverage.xml",
"echo 'Send coverage'",
"./vendor/bin/test-reporter --coverage-report=./build/logs/coverage.xml || return 0"
]
}
}