PHPUnit test dataProvider methods should not modify global state, such as initializing $OUTPUT, as they can cause failures in unrelated tests at a distance.