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

Fixing issue when running 'arc diff'

Summary:
There's a crash when `arc diff` is running it's lint / unit test
phase which describes that this function should be public instead
of private:

```Fatal error: Access level to PhabricatorPholioMockTestDataGenerator::loadPhabrictorUserPHID() must be public (as in class PhabricatorTestDataGenerator) in /srv/www/tychaia.com/phab/phabricator/src/applications/pholio/lipsum/PhabricatorPholioMockTestDataGenerator.php on line 102```

Test Plan: `arc diff` should not crash.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

authored by

James Rhodes and committed by
epriestley
cb426362 8eb85683

+1 -1
+1 -1
src/applications/pholio/lipsum/PhabricatorPholioMockTestDataGenerator.php
··· 65 65 return $mock->save(); 66 66 } 67 67 68 - private function loadPhabrictorUserPHID() { 68 + public function loadPhabrictorUserPHID() { 69 69 return $this->loadOneRandom("PhabricatorUser")->getPHID(); 70 70 } 71 71