Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace after annotation with attribute
PHPUnit 11 emits a deprecation warning when using annotations (@after), and they will not work in PHPUnit 12. Changing this means that the "after" functionality will not work in phpunit versions < 10, but it also should not cause an error. Users directly calling "restoreEnvironmentVariables()" would be fine, I think. See sebastianbergmann/phpunit#4502
- Loading branch information