Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #159 from davidmpaz/debug-simplexml_load_file
Browse files Browse the repository at this point in the history
Debug simplexml load file
  • Loading branch information
elazar committed May 11, 2015
2 parents 23b068a + d973c5c commit ef2231c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ cache.properties
composer.lock
phpunit.xml
vendor
bin
2 changes: 1 addition & 1 deletion PHPUnit/Extensions/Database/DataSet/AbstractXmlDataSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function __construct($xmlFile)
$message = '';

foreach (libxml_get_errors() as $error) {
$message .= $error->message;
$message .= print_r($error, true);
}

throw new RuntimeException($message);
Expand Down

0 comments on commit ef2231c

Please sign in to comment.