I\'m trying to use PHPunit to test a class that outputs some custom headers.
The problem is that on my machine this:
As already mentioned in a comment, I think it's a better solution to define processIsolation in the XML config file like
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
processIsolation = "true"
// ...
>
</phpunit>
Like this, you don't have to pass the --stderr option, which might irritate your co-workers.