Page MenuHomePhorge

PHPDoc: Correct syntax of variadic function params
ClosedPublic

Authored by aklapper on Tue, Apr 29, 11:28.

Details

Summary

PHPDoc standardized syntax for variadic function parameters in https://github.com/phpDocumentor/phpDocumentor/issues/629. Thus follow that syntax.

Test Plan
  • Check that Phorge docs still render as before: grep for ... within src/applications/diviner, see that the only result writes and does not read
  • Run ./bin/diviner generate --clean, see that "Loading Objects" section on http://phorge.localhost/book/dev/class/LiskDAO/ looks the same before and after applying Phorge counterpart D25980
  • Run static code analysis, get no more parse errors which mention ...

Diff Detail

Repository
rARC Arcanist
Branch
phpdocVariadic (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1903
Build 1903: arc lint + arc unit