Something went wrong. Try again.
@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
Something went wrong. Try again.
Explicitly cast int to string when expected by PHP functions master
Summary: Avoid `Parameter $foo of function bar expects string, int[|string] given` output in static code analysis by explicitly casting to string when a return value is an int, or by passing a string by encapsulating an int with apostrophes. Test Plan: Run static code analysis. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D26074
Author Andre Klapper Date (Jun 13, 2025, 9:08 AM UTC) Commit 6bcc10fb 6bcc10fbf1dbe73b311cab57a3edd7a724607bb0 Parent 6e43f896 6e43f89668a00bccad43218244eca64afc6ceb93