Differential D14073 Diff 34742 src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementExtractWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/internationalization/management/PhabricatorInternationalizationManagementExtractWorkflow.php
| Show All 31 Lines | foreach ($paths as $path) { | ||||
| $full_path = $root.DIRECTORY_SEPARATOR.$file; | $full_path = $root.DIRECTORY_SEPARATOR.$file; | ||||
| $data = Filesystem::readFile($full_path); | $data = Filesystem::readFile($full_path); | ||||
| $futures[$full_path] = PhutilXHPASTBinary::getParserFuture($data); | $futures[$full_path] = PhutilXHPASTBinary::getParserFuture($data); | ||||
| } | } | ||||
| } | } | ||||
| $console->writeOut( | $console->writeOut( | ||||
| "%s\n", | "%s\n", | ||||
| pht('Found %s file(s)...', new PhutilNumber(count($futures)))); | pht('Found %s file(s)...', phutil_count($futures))); | ||||
| $results = array(); | $results = array(); | ||||
| $bar = id(new PhutilConsoleProgressBar()) | $bar = id(new PhutilConsoleProgressBar()) | ||||
| ->setTotal(count($futures)); | ->setTotal(count($futures)); | ||||
| $futures = id(new FutureIterator($futures)) | $futures = id(new FutureIterator($futures)) | ||||
| ->limit(8); | ->limit(8); | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||