You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use expect('test')->dd() I expect to see the 'test' dumped, however I get nothing due to PHPUnit opening a second nested output buffering.
I do not have the 'dd' function locally, so it falls back to var_dump + exit. This correctly closes the first output buffering from Pest, however the second output buffering, which was started after it (and consumed all the output) - is not reached, thus closed in incorrect order and output is gone.
How to Reproduce
PHPUnit version: 11.5.3
Just create above simple expect and see.
What Happened
When I use
expect('test')->dd()
I expect to see the 'test' dumped, however I get nothing due to PHPUnit opening a second nested output buffering.I do not have the 'dd' function locally, so it falls back to var_dump + exit. This correctly closes the first output buffering from Pest, however the second output buffering, which was started after it (and consumed all the output) - is not reached, thus closed in incorrect order and output is gone.
How to Reproduce
PHPUnit version: 11.5.3
Just create above simple expect and see.
Sample Repository
No response
Pest Version
3.7.4
PHP Version
8.4.3
Operation System
Linux
Notes
First output buffering start:
Second nested output buffering start:
The text was updated successfully, but these errors were encountered: