Skip to content

fix test for php 8.5#194

Merged
bobstrecansky merged 1 commit intoopen-telemetry:mainfrom
brettmc:fix-test-php85
Aug 25, 2025
Merged

fix test for php 8.5#194
bobstrecansky merged 1 commit intoopen-telemetry:mainfrom
brettmc:fix-test-php85

Conversation

@brettmc
Copy link
Contributor

@brettmc brettmc commented Aug 25, 2025

This test just started failing against php nightly, because it uses a technique that will be deprecated:

Deprecated: Increment on non-numeric string is deprecated, use str_increment() instead in /home/runner/work/opentelemetry-php-instrumentation/opentelemetry-php-instrumentation/ext/tests/multiple_hooks_modify_params.php

Update the test to use numerics instead of a string.

ref: php/php-src@93716be

Deprecated: Increment on non-numeric string is deprecated, use str_increment() instead in /home/runner/work/opentelemetry-php-instrumentation/opentelemetry-php-instrumentation/ext/tests/multiple_hooks_modify_params.php
@brettmc brettmc requested a review from a team as a code owner August 25, 2025 06:34
@bobstrecansky bobstrecansky merged commit 3953640 into open-telemetry:main Aug 25, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants