Skip to content

Commit 602bfce

Browse files
authored
require tagged otel versions (#86)
update slim and psr15 auto-instrumentation to require tagged versions of the otel library
1 parent e34f242 commit 602bfce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Instrumentation/Psr15/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"require": {
1111
"php": "^8.0",
1212
"ext-otel_instrumentation": "*",
13-
"open-telemetry/api": "dev-main",
13+
"open-telemetry/api": "^0",
1414
"psr/http-server-middleware": "^1"
1515
},
1616
"autoload": {
@@ -29,8 +29,8 @@
2929
"phpstan/phpstan": "^1.1",
3030
"phpstan/phpstan-phpunit": "^1.0",
3131
"psalm/plugin-phpunit": "^0.16",
32-
"open-telemetry/sdk": "dev-main",
32+
"open-telemetry/sdk": "^0",
3333
"phpunit/phpunit": "^9.5",
3434
"vimeo/psalm": "^4.0"
3535
}
36-
}
36+
}

src/Instrumentation/Slim/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"php": "^8.0",
1212
"ext-otel_instrumentation": "*",
1313
"ext-reflection": "*",
14-
"open-telemetry/api": "dev-main",
14+
"open-telemetry/api": "^0",
1515
"slim/slim": "^4"
1616
},
1717
"require-dev": {
@@ -24,7 +24,7 @@
2424
"phpstan/phpstan": "^1.1",
2525
"phpstan/phpstan-phpunit": "^1.0",
2626
"psalm/plugin-phpunit": "^0.16",
27-
"open-telemetry/sdk": "dev-main",
27+
"open-telemetry/sdk": "^0",
2828
"phpunit/phpunit": "^9.5",
2929
"vimeo/psalm": "^4.0"
3030
},

0 commit comments

Comments
 (0)