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

at upstream/main 21 lines 392 B view raw
1<?php 2 3final class PhabricatorOAuthServerScope extends Phobject { 4 5 public static function getScopeMap() { 6 return array(); 7 } 8 9 public static function filterScope(array $scope) { 10 $valid_scopes = self::getScopeMap(); 11 12 foreach ($scope as $key => $scope_item) { 13 if (!isset($valid_scopes[$scope_item])) { 14 unset($scope[$key]); 15 } 16 } 17 18 return $scope; 19 } 20 21}