zalas/phpunit-globals
A lightweight PHPUnit extension that backs up and restores PHP globals between tests so leaked global state can't break your suite. Register the listener, add the trait, and annotate which globals to preserve for clean, predictable test runs.
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^10.0 || ^11.0 || ^12.0 || ^13.0 |
None
How can I help you explore Laravel packages today?