diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-04-13 20:25:52 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-04-13 20:25:52 +0200 |
| commit | f5f35ee2ddf29469a7fda73f7c9f15faa740debf (patch) | |
| tree | b00920a7882538e1aa1ee3ccd9a180651a205c95 /src/phorkie | |
| parent | ab7d8488b239a24bff6942ed281a30a5e27f4180 (diff) | |
| download | phorkie-f5f35ee2ddf29469a7fda73f7c9f15faa740debf.tar.gz phorkie-f5f35ee2ddf29469a7fda73f7c9f15faa740debf.zip | |
do not overwrite variable
Diffstat (limited to 'src/phorkie')
| -rw-r--r-- | src/phorkie/Tool/Xmllint.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/phorkie/Tool/Xmllint.php b/src/phorkie/Tool/Xmllint.php index b9917f5..a724e6c 100644 --- a/src/phorkie/Tool/Xmllint.php +++ b/src/phorkie/Tool/Xmllint.php @@ -27,8 +27,8 @@ class Tool_Xmllint if (substr($line, 0, $fpathlen) != $fpath) { throw new Exception('xmllint does not behave as expected: ' . $line); } - list($line, $msg) = explode(':', substr($line, $fpathlen + 1), 2); - $res->annotations[$line][] = new Tool_Result_Line( + list($linenum, $msg) = explode(':', substr($line, $fpathlen + 1), 2); + $res->annotations[$linenum][] = new Tool_Result_Line( $msg, 'error' ); } @@ -41,4 +41,4 @@ class Tool_Xmllint } } -?>
\ No newline at end of file +?> |
