forked from DataDog/dd-trace-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
64 lines (64 loc) · 1.94 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
{
"name": "datadog/dd-trace",
"description": "PHP APM Client",
"keywords": ["datadog", "php", "tracing"],
"type": "library",
"license": "BSD-3-Clause",
"authors": [
{
"name": "José Carlos Chávez",
"email": "[email protected]"
},
{
"name": "DataDog",
"email": "[email protected]",
"role": "Developer"
}
],
"minimum-stability": "dev",
"require": {
"php": "^5.6||^7.0",
"opentracing/opentracing": "1.0.0-beta5",
"guzzlehttp/psr7": "^1.4@dev",
"psr/log": "^1.0@dev"
},
"require-dev": {
"phpunit/phpunit": "~5.7.19",
"squizlabs/php_codesniffer": "3.*"
},
"autoload": {
"psr-4": {
"DDTrace\\": "./src/DDTrace/"
},
"files": [
"./src/DDTrace/Tags.php",
"./src/DDTrace/Time.php",
"./src/DDTrace/Types.php"
]
},
"autoload-dev": {
"psr-4": {
"DDTrace\\Tests\\": "./tests/"
}
},
"provide": {
"opentracing/opentracing": "1.0.0-beta4"
},
"scripts": {
"test": [
"@test-unit",
"@test-integration"
],
"test-unit": "./vendor/bin/phpunit ./tests/Unit",
"test-integration":[
"echo \"Integration tests require the agent up and running. Use composer run-agent.\"",
"./vendor/bin/phpunit ./tests/Integration"
],
"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"
],
"lint": "./vendor/bin/phpcs --standard=ZEND --standard=PSR2 --ignore=*/vendor/* ./",
"fix-lint": "./vendor/bin/phpcbf --standard=ZEND --standard=PSR2 --ignore=*/vendor/* ./"
}
}