Skip to content

Commit

Permalink
Don't symlink PHPUnit uninstall XML config
Browse files Browse the repository at this point in the history
It doesn't appear to work properly on PHP 5.2, giving the error:

```
Fatal error: Uncaught exception 'PHPUnit_Framework_Exception' with message 'Neither ".php" nor ".php" could be opened.' in /home/travis/.phpenv/versions/5.2.17/pear/PHPUnit/Util/Skeleton/Test.php:100

Stack trace:
#0 /home/travis/.phpenv/versions/5.2.17/pear/PHPUnit/TextUI/Command.php(157): PHPUnit_Util_Skeleton_Test->__construct('', '')
#1 /home/travis/.phpenv/versions/5.2.17/pear/PHPUnit/TextUI/Command.php(130): PHPUnit_TextUI_Command->run(Array, true)
#2 /home/travis/.phpenv/versions/5.2.17/bin/phpunit(46): PHPUnit_TextUI_Command::main()
#3 {main}
  thrown in /home/travis/.phpenv/versions/5.2.17/pear/PHPUnit/Util/Skeleton/Test.php on line 100
 ```
  • Loading branch information
JDGrimes committed Dec 6, 2016
1 parent 16210de commit 1735093
Showing 1 changed file with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion phpunit.uninstall.xml.dist

This file was deleted.

16 changes: 16 additions & 0 deletions phpunit.uninstall.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<phpunit
bootstrap="dev-lib/phpunit/module-bootstrap.php"
backupGlobals="false"
colors="true"
>
<testsuites>
<testsuite>
<file>tests/phpunit/test-uninstall.php</file>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit 1735093

Please sign in to comment.