Skip to content

ref: add CodeLocationResolver#2085

Merged
Litarnus merged 5 commits into
masterfrom
code-location-resolver
May 11, 2026
Merged

ref: add CodeLocationResolver#2085
Litarnus merged 5 commits into
masterfrom
code-location-resolver

Conversation

@Litarnus
Copy link
Copy Markdown
Contributor

@Litarnus Litarnus commented May 7, 2026

Adds CodeLocationResolver into the PHP SDK so that it can be used by the depending SDKs. Currently SQL code location is only available in Laravel and moving this class here makes it available for Symfony too without having to duplicate code.

The code is mostly extracted from https://github.com/getsentry/sentry-laravel/blob/54cb822e74ffbc9a6475cfc0ba1ef677b12d0f0f/src/Sentry/Laravel/Tracing/BacktraceHelper.php#L14 and the Laravel part will be replaced by this in the future

Copy link
Copy Markdown
Collaborator

@stayallive stayallive left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good plan!

@Litarnus Litarnus merged commit 0557479 into master May 11, 2026
47 checks passed
@Litarnus Litarnus deleted the code-location-resolver branch May 11, 2026 13:15
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