Page MenuHomePhorge

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

Authored by aklapper on Sep 6 2024, 17:22.
Tags
None
Referenced Files
F2889096: D25819.1737199422.diff
Fri, Jan 17, 11:23
F2889092: D25819.1737199362.diff
Fri, Jan 17, 11:22
F2889091: D25819.1737199361.diff
Fri, Jan 17, 11:22
F2889026: D25819.1737198332.diff
Fri, Jan 17, 11:05
F2878242: D25819.1737019664.diff
Wed, Jan 15, 09:27
F2878241: D25819.1737019663.diff
Wed, Jan 15, 09:27
F2877642: D25819.1737004243.diff
Wed, Jan 15, 05:10
F2877607: D25819.1737003465.diff
Wed, Jan 15, 04:57

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