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

Remove setup check for PHP 7.0

Summary: Phorge requires PHP 7.2 so don't check for PHP 7.0.

Test Plan: Set up Phorge, I guess.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25948

-25
-25
src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
··· 11 11 } 12 12 13 13 protected function executeChecks() { 14 - $version = phpversion(); 15 - if (version_compare($version, 7, '>=') && 16 - version_compare($version, 7.1, '<')) { 17 - $message = pht( 18 - 'You are running PHP version %s. PHP versions between 7.0 and 7.1 '. 19 - 'are not supported'. 20 - "\n\n". 21 - 'PHP removed required signal handling features in '. 22 - 'PHP 7.0, and did not restore an equivalent mechanism until PHP 7.1.'. 23 - "\n\n". 24 - 'Upgrade to PHP 7.1 or newer (recommended) or downgrade to an older '. 25 - 'version of PHP 5 (discouraged).', 26 - $version); 27 - 28 - $this->newIssue('php.version7') 29 - ->setIsFatal(true) 30 - ->setName(pht('PHP 7.0-7.1 Not Supported')) 31 - ->setMessage($message) 32 - ->addLink( 33 - 'https://secure.phabricator.com/T12101', 34 - pht('PHP 7 Compatibility Information')); 35 - 36 - return; 37 - } 38 - 39 14 // TODO: This can be removed entirely because the minimum PHP version is 40 15 // now PHP 5.5, which does not have safe mode. 41 16