Page MenuHomePhabricator

D9961.diff
No OneTemporary

D9961.diff

diff --git a/src/parser/xhpast/api/XHPASTTree.php b/src/parser/xhpast/api/XHPASTTree.php
--- a/src/parser/xhpast/api/XHPASTTree.php
+++ b/src/parser/xhpast/api/XHPASTTree.php
@@ -56,7 +56,7 @@
$stderr,
$matches);
if ($is_syntax) {
- throw new XHPASTSyntaxErrorException($matches[2], $stderr);
+ throw new XHPASTSyntaxErrorException($matches[2], trim($stderr));
}
}
throw new Exception("XHPAST failed to parse file data {$err}: {$stderr}");

File Metadata

Mime Type
text/plain
Expires
Mar 11 2025, 6:50 AM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7506609
Default Alt Text
D9961.diff (513 B)

Event Timeline