-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
91 lines (91 loc) · 3.12 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
{
"name": "elastic/otel-distro",
"description": "Elastic Distribution for OpenTelemetry PHP",
"keywords": [ "elastic", "open telemetry", "OTel", "apm", "tracing", "apm-agent" ],
"type": "project",
"license": "Apache-2.0",
"authors": [
{ "name": "Pawel Filipczak" },
{ "name": "Sergey Kleyman" }
],
"require": {
"php": "8.1.*||8.2.*||8.3.*||8.4.*",
"open-telemetry/exporter-otlp": "1.0.4",
"open-telemetry/opentelemetry-auto-curl": "0.0.2",
"open-telemetry/opentelemetry-auto-http-async": "1.0.1",
"open-telemetry/opentelemetry-auto-laravel": "1.0.1",
"open-telemetry/opentelemetry-auto-mysqli": "0.0.1",
"open-telemetry/opentelemetry-auto-pdo": "0.0.15",
"open-telemetry/opentelemetry-auto-slim": "1.0.6",
"open-telemetry/sdk": "1.1.2",
"php-http/guzzle7-adapter": "^1.0",
"nyholm/psr7-server": "^1.1"
},
"provide": {
"laravel/framework": "*",
"slim/slim": "*"
},
"require-dev": {
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "1.4.0",
"phpstan/phpstan": "2.0.2",
"phpstan/phpstan-phpunit": "^2.0.1",
"phpunit/phpunit": "^10.5",
"slevomat/coding-standard": "8.15.0",
"squizlabs/php_codesniffer": "3.11.1"
},
"autoload-dev": {
"psr-4": {
"Elastic\\OTel\\": "./prod/php/ElasticOTel/",
"ElasticOTelTests\\": "./tests/ElasticOTelTests/"
}
},
"config": {
"process-timeout": 0,
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"tbachert/spi": true
},
"platform": {
"ext-mysqli": "8.1",
"ext-curl": "8.1",
"ext-pdo": "8.1",
"ext-opentelemetry": "0",
"ext-otel_instrumentation": "0"
}
},
"scripts": {
"pre-autoload-dump": [
"./tools/build/configure_php_templates.sh"
],
"parallel-lint": [
"parallel-lint ./prod/php/ ./tests/ --exclude ./tests/polyfills/"
],
"php_codesniffer_check": [
"phpcs -s ./prod/php/",
"phpcs -s ./tests/"
],
"php_codesniffer_fix": [
"phpcbf ./prod/php/",
"phpcbf ./tests/"
],
"fix_code_format_for": [
"phpcbf"
],
"phpstan-junit-report-for-ci": [
"phpstan analyse --error-format=junit ./prod/php/ --level max --memory-limit=1G | tee build/elastic-otel-phpstan-junit.xml",
"phpstan analyse --error-format=junit ./tests/ --level max --memory-limit=1G --error-format=junit | tee build/tests-phpstan-junit.xml"
],
"phpstan": [
"phpstan analyse ./prod/php/",
"phpstan analyse ./tests/"
],
"static_check": [
"composer run-script -- parallel-lint",
"composer run-script -- php_codesniffer_check",
"composer run-script -- phpstan"
]
}
}