diff --git a/ChangeLog.markdown b/ChangeLog.markdown index 305a9e27124..397c7a63769 100644 --- a/ChangeLog.markdown +++ b/ChangeLog.markdown @@ -7,6 +7,7 @@ PHPUnit 3.6.10 -------------- * Tests for which the execution is aborted due to a timeout are no longer shown as incomplete but as an error instead. +* Fixed the fix for #466. PHPUnit 3.6.9 ------------- diff --git a/PHPUnit/Util/Configuration.php b/PHPUnit/Util/Configuration.php index d5736e9a28e..966e0258fac 100644 --- a/PHPUnit/Util/Configuration.php +++ b/PHPUnit/Util/Configuration.php @@ -857,6 +857,11 @@ protected function getTestSuite(DOMElement $testSuiteNode) // Get the absolute path to the file $file = $fileIteratorFacade->getFilesAsArray($file); + + if (!isset($file[0])) { + continue; + } + $file = $file[0]; if ($fileNode->hasAttribute('phpVersion')) {