Page MenuHomePhorge

PHPDoc: Replace "@return this" with "@return $this"
ClosedPublic

Authored by aklapper on Sep 6 2024, 17:22.
Tags
None
Referenced Files
F3695663: D25819.1745595777.diff
Thu, Apr 24, 15:42
F3686633: D25819.1745583002.diff
Thu, Apr 24, 12:10
F3680312: D25819.1745553103.diff
Thu, Apr 24, 03:51
F3673143: D25819.1745474019.diff
Wed, Apr 23, 05:53
F3553955: D25819.1744965079.diff
Thu, Apr 17, 08:31
F3387827: D25819.1744442097.diff
Fri, Apr 11, 07:14
F3369238: D25819.1744213706.diff
Tue, Apr 8, 15:48
F3368445: D25819.1744209151.diff
Tue, Apr 8, 14:32

Details

Summary

Per https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc.md the valid keyword is $this.
Thus replace this to make output of static code analysis slightly less noisy.

(See rARC4b7ee1985b3c15b4af81b5480522ae24c0afd6a2 for its Arcanist counterpart.)

Test Plan

Read the docs.

Diff Detail

Repository
rP Phorge
Branch
returnThis
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1583
Build 1583: arc lint + arc unit