Skip to content

Commit 120229c

Browse files
authored
Rename extension (#140)
* Rename extension loaded calls * Rename C-extension name * Use right name * Use pecl url * Prefix with ext- This is usually the default name/definition in composer.json * Bogus
1 parent b947b7c commit 120229c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_register.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
return;
1111
}
1212

13-
if (extension_loaded('otel_instrumentation') === false) {
14-
trigger_error('The otel_instrumentation extension must be loaded in order to autoload the OpenTelemetry Laravel auto-instrumentation', E_USER_WARNING);
13+
if (extension_loaded('opentelemetry') === false) {
14+
trigger_error('The opentelemetry extension must be loaded in order to autoload the OpenTelemetry Laravel auto-instrumentation', E_USER_WARNING);
1515

1616
return;
1717
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"minimum-stability": "dev",
1010
"require": {
1111
"php": "^8.0",
12-
"ext-otel_instrumentation": "*",
12+
"ext-opentelemetry": "*",
1313
"open-telemetry/api": "^1",
1414
"symfony/http-kernel": "*",
1515
"symfony/http-client-contracts": "*"

0 commit comments

Comments
 (0)