In the latest versions of PHPUnit use attributes:
PHPUnit
#[PreserveGlobalState(false)] #[RunInSeparateProcess]