Skip to content

[12.x] Add test for complex context manipulation in Logger #55423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

roshandelpoor
Copy link
Contributor

This PR adds a new test case to LogLoggerTest.php, demonstrating complex context manipulation scenarios in the Logger class.

The new test testComplexContextManipulation() covers:

  • Multiple sequential context operations
  • Context accumulation across multiple withContext calls
  • Selective removal of context keys
  • Preserve context from previous operations

@taylorotwell taylorotwell merged commit b94be7d into laravel:12.x Apr 15, 2025
60 of 61 checks passed
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