@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

Conduit: Add error handling calling token.give without objectPHID master

Summary: Throw a ConduitException when no objectPHID is passed instead of silently failing when trying to delete a token being `null`. As a side effect, fix a PHP 8.5 deprecation warning. Closes T16436 Test Plan: Go to http://phorge.localhost/conduit/method/token.give/ and press "Call Method". Try also after entering a random string in the "tokenPHID" field. Reviewers: O1 Blessed Committers, mainframe98 Reviewed By: O1 Blessed Committers, mainframe98 Subscribers: mainframe98, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Maniphest Tasks: T16436 Differential Revision: https://we.phorge.it/D26647


+15 -2
1 changed file