git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ab7d848
)
do not overwrite variable
author
Christian Weiske
<cweiske@cweiske.de>
Fri, 13 Apr 2012 18:25:52 +0000
(20:25 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Fri, 13 Apr 2012 18:25:52 +0000
(20:25 +0200)
src/phorkie/Tool/Xmllint.php
patch
|
blob
|
history
diff --git
a/src/phorkie/Tool/Xmllint.php
b/src/phorkie/Tool/Xmllint.php
index b9917f59e891137ee4063008228f02315b983102..a724e6cb69762cc5014d187e816a5d196eaaad2f 100644
(file)
--- 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($line
num
, $msg) = explode(':', substr($line, $fpathlen + 1), 2);
+ $res->annotations[$line
num
][] = new Tool_Result_Line(
$msg, 'error'
);
}
@@
-41,4
+41,4
@@
class Tool_Xmllint
}
}
-?>
\ No newline at end of file
+?>