Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15332007
D11613.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
626 B
Referenced Files
None
Subscribers
None
D11613.diff
View Options
diff --git a/src/lint/linter/ArcanistBaseXHPASTLinter.php b/src/lint/linter/ArcanistBaseXHPASTLinter.php
--- a/src/lint/linter/ArcanistBaseXHPASTLinter.php
+++ b/src/lint/linter/ArcanistBaseXHPASTLinter.php
@@ -103,7 +103,8 @@
final protected function buildSharedFutures(array $paths) {
foreach ($paths as $path) {
if (!isset($this->futures[$path])) {
- $this->futures[$path] = xhpast_get_parser_future($this->getData($path));
+ $this->futures[$path] = PhutilXHPASTBinary::getParserFuture(
+ $this->getData($path));
}
}
return array_select_keys($this->futures, $paths);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 8, 3:58 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7383127
Default Alt Text
D11613.diff (626 B)
Attached To
Mode
D11613: Use `PhutilXHPASTBinary` methods
Attached
Detach File
Event Timeline
Log In to Comment