forked from newrelic/newrelic-monolog-logenricher-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
48 lines (48 loc) · 1.48 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
{
"name": "newrelic/monolog-enricher",
"description": "Monolog components to enable New Relic Logs",
"type": "library",
"license": "Apache-2.0",
"authors": [
{
"name": "New Relic PHP",
"email": "[email protected]"
}
],
"require": {
"php": ">=v8.1",
"monolog/monolog": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"squizlabs/php_codesniffer": ">=3.5"
},
"suggest": {
"ext-newrelic": "Adds support for viewing logs in context within the New Relic UI"
},
"autoload": {
"psr-4": {
"NewRelic\\Monolog\\Enricher\\": "src"
}
},
"scripts": {
"check": [
"@coding-standard-check",
"@test"
],
"coding-standard-check": "phpcs -p",
"coding-standard-fix": "phpcbf",
"integration": [
"@composer install -d tests/integration/server",
"@composer install -d tests/integration/v1",
"@composer install -d tests/integration/v2",
"cd tests/integration/v1 && php -d error_reporting=24575 vendor/bin/phpunit",
"cd tests/integration/v2 && php -d error_reporting=24575 vendor/bin/phpunit"
],
"test": "php -d error_reporting=24575 vendor/bin/phpunit",
"test-coverage": [
"rm -rf coverage",
"phpdbg -qrr -d error_reporting=24575 vendor/bin/phpunit --coverage-html=coverage"
]
}
}