-
Notifications
You must be signed in to change notification settings - Fork 10
/
composer.json
116 lines (116 loc) · 3.78 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
{
"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": "[email protected]"
},
{
"name": "DataDog",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "^5.4 || ^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
}
},
"autoload": {
"psr-4": {
"DDTrace\\": "./src/api/"
},
"files": [
"./src/api/ComposerBootstrap.php"
]
},
"autoload-dev": {
"psr-4": {
"DDTrace\\Tests\\Api\\": "./tests_api/",
"DDTrace\\Tests\\": "./tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"compile": [
"classpreloader.php compile --config=./bridge/_files.php --output=./bridge/_generated.php --strip_comments=1",
"sed -i \"s/'[^']\\+bridge\\/\\.\\./__DIR__ . '\\/../g\" ./bridge/_generated.php"
],
"compile-verify": "php ./bridge/autoload.php",
"fix-lint": "phpcbf",
"lint": "phpcs -s --ignore=src/Integrations/Integrations/ZendFramework/V1/Ddtrace.php,dockerfiles/,tests/xdebug/",
"lint-5.4": "phpcs -s --runtime-set testVersion 5.4-7.3 --ignore=src/Integrations/Integrations/ZendFramework/V1/Ddtrace.php,dockerfiles/",
"static-analyze": [
"@static-analyze-clear-cache",
"@static-analyze-api",
"@static-analyze-ddtrace"
],
"static-analyze-api": "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": "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": {
"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
}
}
}