Skip to content

T67 redacted keys - #68

Merged
niden merged 2 commits into
masterfrom
T67-redacted-keys
Nov 6, 2026
Merged

niden merged 2 commits into
masterfrom
T67-redacted-keys

Conversation

@niden

@niden niden commented Nov 6, 2026

Copy link
Copy Markdown
Member

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

redact.unmask takes patterns for masked keys whose values show, and Security\Redactor takes them as an optional third argument. A pattern matches the whole key, and * matches zero or more characters. A hidden key stays hidden.

Thanks

@niden niden self-assigned this Nov 6, 2026
@niden niden added the enhancement New feature or request label Nov 6, 2026
@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Code Metrics Report

master (4078ee2) #68 (8b7cad4) +/-
Coverage 100.0% 100.0% 0.0%
Test Execution Time 4s 5s +1s
Details
  |                     | master (4078ee2) | #68 (8b7cad4) | +/-  |
  |---------------------|------------------|---------------|------|
  | Coverage            |           100.0% |        100.0% | 0.0% |
  |   Files             |               83 |            83 |    0 |
  |   Lines             |             2002 |          2024 |  +22 |
+ |   Covered           |             2002 |          2024 |  +22 |
- | Test Execution Time |               4s |            5s |  +1s |

Code coverage of files in pull request scope (100.0% → 100.0%, patch 100.0%)

Files Coverage +/- Patch Coverage Status
src/DebugBar/Core.php 100.0% 0.0% 100.0% modified
src/DebugBar/DebugBarTypes.php 0.0% 0.0% - modified
src/DebugBar/Security/Redactor.php 100.0% 0.0% 100.0% modified

Reported by octocov

@niden
niden merged commit 788ff94 into master Nov 6, 2026
24 checks passed
@niden
niden deleted the T67-redacted-keys branch November 6, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant