mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
ba25586016
Summary: Currently the symbol generation scripts fail if passed a list containing no files because `explode("\n", $input)` returns `array("")` rather than `array()`. This means that a generic Harbormaster Build Plan with a step which executes `find . -type f -name '*.php' | ./scripts/generate_php_symbols.php` won't work because it fails in repositories that don't contain any PHP code. Test Plan: Ran `echo | generate_php_symbols` and saw no output instead of an exception. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D19588 |
||
---|---|---|
.. | ||
clear_repository_symbols.php | ||
generate_ctags_symbols.php | ||
generate_php_symbols.php | ||
import_repository_symbols.php |