Skip to content

Commit

Permalink
Unit test failure messages would sometimes be corrupted because of an…
Browse files Browse the repository at this point in the history
… incorrect array index

git-svn-id: http://svn.php.net/repository/pear/packages/PHP_CodeSniffer/trunk@287730 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
gsherwood committed Aug 26, 2009
1 parent 107265b commit f06ee39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Standards/AbstractSniffUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function generateFailureMessages($file)

$foundErrorsTemp = array();
foreach ($allProblems[$line]['found_errors'] as $foundError) {
$foundErrorsTemp[] = $foundError['message'];
$foundErrorsTemp[] = $foundError;
}

$errorsTemp = array();
Expand Down

0 comments on commit f06ee39

Please sign in to comment.