-
Notifications
You must be signed in to change notification settings - Fork 155
/
composer.json
126 lines (126 loc) · 3.99 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "datadog/dd-trace",
"type": "library",
"description": "PHP APM Client",
"keywords": [
"datadog",
"php",
"tracing"
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "José Carlos Chávez",
"email": "jcchavezs@gmail.com"
},
{
"name": "DataDog",
"email": "dev@datadoghq.com",
"role": "Developer"
}
],
"require": {
"php": "^7.0 || ^8.0.0",
"ext-curl": "*",
"ext-json": "*"
},
"require-dev": {
"ext-posix": "*",
"g1a/composer-test-scenarios": "~3.0",
"mockery/mockery": "*",
"phpunit/phpunit": "<10",
"squizlabs/php_codesniffer": "^3.3.0",
"symfony/process": "<5"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"g1a/composer-test-scenarios": true,
"php-http/discovery": true,
"cakephp/plugin-installer": true
}
},
"autoload": {
"psr-4": {
"DDTrace\\": "./src/api/"
}
},
"autoload-dev": {
"psr-4": {
"DDTrace\\Tests\\Api\\": "./tests_api/",
"DDTrace\\Tests\\": "./tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"fix-lint": "phpcbf",
"lint": "phpcs -s --ignore=src/Integrations/Integrations/ZendFramework/V1/Ddtrace.php,dockerfiles/,tests/xdebug/",
"static-analyze": [
"@static-analyze-clear-cache",
"@static-analyze-api",
"@static-analyze-ddtrace"
],
"static-analyze-api": "php -dmemory_limit=1G $(which phpstan) analyse --configuration=./phpstan.api.neon --level=2 src/api",
"static-analyze-clear-cache": [
"phpstan clear-result-cache --configuration=./phpstan.api.neon",
"phpstan clear-result-cache --configuration=./phpstan.ddtrace.neon"
],
"static-analyze-ddtrace": "php -dmemory_limit=1G $(which phpstan) analyse --configuration=./phpstan.ddtrace.neon --level=2 src/DDTrace",
"run-agent": [
"docker run -p 8126:8126 -e \"DD_APM_ENABLED=true\" -e \"DD_BIND_HOST=0.0.0.0\" -e \"DD_API_KEY=invalid_key_but_this_is_fine\" --rm datadog/docker-dd-agent",
"while ! echo exit | nc localhost 8126; do sleep 1; done"
],
"install-ext": "make sudo install install_ini $*",
"test-ext": "make test_c TESTS=tests/ext"
},
"extra": {
"scenarios": {
"openai": {
"require": {
"openai-php/client": "@stable"
},
"scenario-options": {
"create-lockfile": false
}
},
"opentelemetry1": {
"require": {
"open-telemetry/sdk": "@stable",
"open-telemetry/extension-propagator-b3": "@stable",
"open-telemetry/opentelemetry-logger-monolog": "@stable"
},
"scenario-options": {
"create-lockfile": false
}
},
"opentracing_beta5": {
"require": {
"opentracing/opentracing": "1.0.0-beta5"
},
"scenario-options": {
"create-lockfile": false
}
},
"opentracing_beta6": {
"require": {
"opentracing/opentracing": "1.0.0-beta6"
},
"scenario-options": {
"create-lockfile": false
}
},
"opentracing10": {
"require": {
"opentracing/opentracing": "^1.0"
},
"scenario-options": {
"create-lockfile": false
}
}
},
"scenario-options": {
"dependency-licenses": false
}
}
}