Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15390776
D11612.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D11612.id.diff
View Options
diff --git a/scripts/symbols/generate_php_symbols.php b/scripts/symbols/generate_php_symbols.php
--- a/scripts/symbols/generate_php_symbols.php
+++ b/scripts/symbols/generate_php_symbols.php
@@ -20,7 +20,7 @@
foreach ($input as $file) {
$file = Filesystem::readablePath($file);
$data[$file] = Filesystem::readFile($file);
- $futures[$file] = xhpast_get_parser_future($data[$file]);
+ $futures[$file] = PhutilXHPASTBinary::getParserFuture($data[$file]);
}
$futures = id(new FutureIterator($futures))
diff --git a/src/applications/diviner/atomizer/DivinerPHPAtomizer.php b/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
--- a/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
+++ b/src/applications/diviner/atomizer/DivinerPHPAtomizer.php
@@ -7,7 +7,7 @@
}
protected function executeAtomize($file_name, $file_data) {
- $future = xhpast_get_parser_future($file_data);
+ $future = PhutilXHPASTBinary::getParserFuture($file_data);
$tree = XHPASTTree::newFromDataAndResolvedExecFuture(
$file_data,
$future->resolve());
diff --git a/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php b/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php
--- a/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php
+++ b/src/applications/phpast/controller/PhabricatorXHPASTViewRunController.php
@@ -11,7 +11,7 @@
if ($request->isFormPost()) {
$source = $request->getStr('source');
- $future = xhpast_get_parser_future($source);
+ $future = PhutilXHPASTBinary::getParserFuture($source);
$resolved = $future->resolve();
// This is just to let it throw exceptions if stuff is broken.
diff --git a/src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementExtractWorkflow.php b/src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementExtractWorkflow.php
--- a/src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementExtractWorkflow.php
+++ b/src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementExtractWorkflow.php
@@ -31,7 +31,7 @@
foreach ($path_files as $file) {
$full_path = $root.DIRECTORY_SEPARATOR.$file;
$data = Filesystem::readFile($full_path);
- $futures[$full_path] = xhpast_get_parser_future($data);
+ $futures[$full_path] = PhutilXHPASTBinary::getParserFuture($data);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 16 2025, 6:36 AM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7525928
Default Alt Text
D11612.id.diff (2 KB)
Attached To
Mode
D11612: Use `PhutilXHPASTBinary` methods
Attached
Detach File
Event Timeline
Log In to Comment