forked from newrelic/newrelic-monolog-logenricher-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
51 lines (51 loc) · 1.35 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
{
"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": ">=8.1",
"ext-curl": "*",
"monolog/monolog": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^10.1",
"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": [
"@cs",
"@test"
],
"cs": "phpcs -p",
"cs-fix": "phpcbf",
"test": [
"@test-unit",
"@test-integration"
],
"test-integration": [
"@composer install --no-dev -d tests/integration/server",
"@composer install --no-dev -d tests/integration/v3",
"cd tests/integration/v3 && php vendor/bin/phpunit"
],
"test-unit": [
"@clear-phpunit-cache",
"phpunit -c phpunit.xml.dist --testsuite=unit"
],
"clear-phpunit-cache": "rm -rf .phpunit.cache"
}
}