Skip to content

Conversation

@cleptric
Copy link
Member

DESCRIBE YOUR PR

This PR adds documentation for the prefixes option in the PHP SDK configuration. This option allows users to strip specified prefixes from filenames in stacktraces, helping to normalize file paths across different environments.

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

EXTRA RESOURCES


Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Aug 12, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Aug 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
sentry-docs Ready Preview Comment Aug 12, 2025 3:49pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
develop-docs ⬜️ Ignored Aug 12, 2025 3:49pm

@codecov
Copy link

codecov bot commented Aug 12, 2025

Bundle Report

Changes will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
sentry-docs-client-array-push 9.9MB -6 bytes (-0.0%) ⬇️
sentry-docs-server-cjs 12.44MB -9 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: sentry-docs-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/chunks/pages/_app-*.js -3 bytes 882.71kB -0.0%
static/chunks/8321-*.js -3 bytes 425.87kB -0.0%
static/OWexNOU97mobKgrm2o-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/OWexNOU97mobKgrm2o-*.js (New) 684 bytes 684 bytes 100.0% 🚀
static/vkzq0gBkU7RsFR0Y4aR53/_buildManifest.js (Deleted) -684 bytes 0 bytes -100.0% 🗑️
static/vkzq0gBkU7RsFR0Y4aR53/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: sentry-docs-server-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
1729.js -3 bytes 1.78MB -0.0%
../instrumentation.js -3 bytes 1.1MB -0.0%
9523.js -3 bytes 1.08MB -0.0%

@cleptric cleptric marked this pull request as ready for review August 12, 2025 15:50
@cleptric cleptric merged commit 0e14961 into master Aug 12, 2025
12 checks passed
@cleptric cleptric deleted the cursor/document-undocumented-php-prefix-option-1a9d branch August 12, 2025 15:50
codyde added a commit that referenced this pull request Aug 13, 2025
* 'master' of https://github.com/getsentry/sentry-docs: (22 commits)
  Fix incorrectly placed comma (#14592)
  fix(devservices): Typo in devservices docs (#14636)
  ref(ourlogs): Add log size limit (#14635)
  Document undocumented php prefix option (#14634)
  getsentry/relay@7958273
  Unreal Engine: Update plugin docs (#14624)
  feat: Update min js sdk version for logging and update console logging snippet (#14614)
  feat: [Unreal] Add transaction and span set_data documentation (#14599)
  feat(js): Add `ignoreSpans` documentation to Options page (#14572)
  fix(js/browser): Amend user IP + `sendDefaultPii` change to v10 migration guide (#14609)
  fix: Fix broken AI banner due to invalid syntax (#14627)
  feat(partners)add-enablement-docs (#14095)
  Fix image path issue & add test coverage for new lightbox (#14616)
  feat(seer): update GHE setup to work with seer (#14617)
  fix(replay): Document searchable properties `screen` and alias `screens` (#14603)
  Update image handling (#14564)
  Update using-hooks.mdx (#14605)
  Godot: Document `disabled-in-editor-play` option (#14438)
  fix(Docs) redirect and deprecate old metrics pages (#14602)
  fix(relay): Update projects.mdx (#14606)
  ...
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants