@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.

Fix some method signatures

Summary: Fix some method signatures so that arguments with default values are at the end of the argument list (see D12418).

Test Plan: Eyeballed the callsites.

Reviewers: epriestley, #blessed_reviewers, hach-que

Reviewed By: epriestley, #blessed_reviewers, hach-que

Subscribers: hach-que, Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12782

+13 -16
+6 -4
src/applications/celerity/CelerityStaticResourceResponse.php
··· 33 33 } 34 34 35 35 /** 36 - * Register a behavior for initialization. NOTE: if $config is empty, 37 - * a behavior will execute only once even if it is initialized multiple times. 38 - * If $config is nonempty, the behavior will be invoked once for each config. 36 + * Register a behavior for initialization. 37 + * 38 + * NOTE: If `$config` is empty, a behavior will execute only once even if it 39 + * is initialized multiple times. If `$config` is nonempty, the behavior will 40 + * be invoked once for each configuration. 39 41 */ 40 42 public function initBehavior( 41 43 $behavior, 42 44 array $config = array(), 43 - $source_name) { 45 + $source_name = null) { 44 46 45 47 $this->requireResource('javelin-behavior-'.$behavior, $source_name); 46 48
+1 -1
src/applications/drydock/blueprint/DrydockBlueprintImplementation.php
··· 353 353 public static function writeLog( 354 354 DrydockResource $resource = null, 355 355 DrydockLease $lease = null, 356 - $message) { 356 + $message = null) { 357 357 358 358 $log = id(new DrydockLog()) 359 359 ->setEpoch(time())
+2 -2
src/applications/people/storage/PhabricatorUserLog.php
··· 87 87 88 88 public static function initializeNewLog( 89 89 PhabricatorUser $actor = null, 90 - $object_phid, 91 - $action) { 90 + $object_phid = null, 91 + $action = null) { 92 92 93 93 $log = new PhabricatorUserLog(); 94 94
+3 -3
src/applications/phragment/storage/PhragmentFragment.php
··· 78 78 public static function createFromFile( 79 79 PhabricatorUser $viewer, 80 80 PhabricatorFile $file = null, 81 - $path, 82 - $view_policy, 83 - $edit_policy) { 81 + $path = null, 82 + $view_policy = null, 83 + $edit_policy = null) { 84 84 85 85 $fragment = id(new PhragmentFragment()); 86 86 $fragment->setPath($path);
+1 -6
src/view/layout/AphrontSideNavFilterView.php
··· 125 125 $key, $name, $uri, PHUIListItemView::TYPE_BUTTON); 126 126 } 127 127 128 - private function addThing( 129 - $key, 130 - $name, 131 - $uri = null, 132 - $type) { 133 - 128 + private function addThing($key, $name, $uri, $type) { 134 129 $item = id(new PHUIListItemView()) 135 130 ->setName($name) 136 131 ->setType($type);