@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
at upstream/main 19 lines 520 B view raw
1<?php 2 3final class PhabricatorConduitTestCase extends PhabricatorTestCase { 4 5 public function testConduitMethods() { 6 $methods = id(new PhutilClassMapQuery()) 7 ->setAncestorClass(ConduitAPIMethod::class) 8 ->execute(); 9 10 // We're just looking for a side effect of ConduitCall construction 11 // here: it will throw if any methods define reserved parameter names. 12 13 foreach ($methods as $method) { 14 new ConduitCall($method->getAPIMethodName(), array()); 15 } 16 17 $this->assertTrue(true); 18 } 19}