Page MenuHomePhorge

PHPDoc: Correct syntax of variadic function params
ClosedPublic

Authored by aklapper on Apr 29 2025, 11:27.

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
  • Run static code analysis, get no more parse errors which mention ...

Diff Detail

Repository
rP Phorge
Branch
phpdocVariadic (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1902
Build 1902: arc lint + arc unit