Skip to content

Conversation

Rjiegit
Copy link

@Rjiegit Rjiegit commented May 31, 2025

This PR adds a new configuration option to exclude all $_ENV variables from the profiling data.

  • New config: 'profiler.is-exclude-all-env' => false (default: false)
  • When set to true, all environment variables will be excluded from the result.
  • Fixes Exclude all ENV #79

This helps prevent leaking a large number of secrets or sensitive information into the profiling output.

@Rjiegit Rjiegit mentioned this pull request May 31, 2025
@glensc
Copy link
Contributor

glensc commented Jul 5, 2025

general: add this new option to example config: examples/autoload.php

@Rjiegit
Copy link
Author

Rjiegit commented Aug 2, 2025

I’ve updated the code based on all review comments

@glensc
Copy link
Contributor

glensc commented Aug 6, 2025

Hit resolve conversation for threads that have been solved. preferrably with commit in the command that did.

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.

Exclude all ENV
2 participants