Improves scripts/phutil_symbols.php so as to support extracting needed symbols from function return types.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rPHUac350a7fe787: Extract needed classes/interfaces from return types
Ran script/phutil_symbols.php on the following file:
<?php function x(array $x): void {} function y(string $x): bool {}
The output was as follows:
{ "have": { "function": { "x": 16, "y": 47 } }, "need": { "class/interface": { "string": 49, "void": 29, "bool": 61 } }, "xmap": [] }
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20620 Build 28022: Run Core Tests Build 28021: arc lint + arc unit