phpDocumentor/phpDocumentor2 — pull request #674 by boenrobot (2012-11-11 23:57:48+00:00)
Title: Enabling custom temporary folder in unit tests

I just tried to run PhpDocumentor2's PHPUnit test suite, and failed dramatically. After a short investigation, I found the cause was that I use Windows, and on Windows, the temporary folder is not "/tmp", and yet that's what's hard coded into the tests.

The following patch changes this to a new constant that is configurable from PHPUnit's XML configuration file, and makes affected tests use it.