@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Initialize static variable to make linter happy

Summary: Uninitialized variable defaults to 0 in this context. Make it explicit.

Test Plan: None. No functional change.

Reviewers: O1 Blessed Committers, speck

Reviewed By: O1 Blessed Committers, speck

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25470

+1 -1
+1 -1
src/applications/policy/filter/PhabricatorPolicyFilter.php
··· 461 461 // checks make it difficult to create cycles normally, so just do a 462 462 // simple check here to limit damage. 463 463 464 - static $depth; 464 + static $depth = 0; 465 465 466 466 $depth++; 467 467