Skip to content

ref: add CodeLocationResolver#2085

Open
Litarnus wants to merge 4 commits intomasterfrom
code-location-resolver
Open

ref: add CodeLocationResolver#2085
Litarnus wants to merge 4 commits intomasterfrom
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

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.

1 participant