Repository navigation
ref(tracing): Read trace_propagation_targets once in GuzzleTracingMiddleware to drop Mago baseline entry - #2422
Merged
stayallive merged 1 commit intoNov 24, 2026
Conversation
…dleware to drop Mago baseline entry
stayallive
approved these changes
Nov 24, 2026
stayallive
marked this pull request as ready for review
November 24, 2026 10:18
stayallive
deleted the
ref/guzzle-middleware-trace-propagation-targets-local
branch
November 24, 2026 10:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes this Mago baseline entry from
analysis-baseline.toml:src/Tracing/GuzzleTracingMiddleware.php·possibly-null-argument· Argument Fatal error fix & locale-aware string to float conversion fix #2 of functionin_arrayis possiblynull, but parameter typearray<array-key, string>does not accept it.shouldAttachTracingHeaders()calledOptions::getTracePropagationTargets()twice: once for thenullcheck and once forin_array(), so Mago couldn't narrow the second call. It now reads the option into a local variable once and uses that for both. The getter has no side effects, so behavior doesn't change.via automation
sched_a59acc45df166a80a839d0b32321e740· Run IDsched_a59acc45df166a80a839d0b32321e740:1795510800000.--
View Session [Sentry]