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

Make the "PHP 7" setup warning more explicit about what it means

Summary: See <https://discourse.phabricator-community.org/t/minimum-php-versions-supported-by-latest-stable-phabricator/2314/3>.

Test Plan: o~o

Reviewers: amckinley

Reviewed By: amckinley

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

+13 -6
+13 -6
src/applications/config/check/PhabricatorPHPPreflightSetupCheck.php
··· 11 11 } 12 12 13 13 protected function executeChecks() { 14 - if (version_compare(phpversion(), 7, '>=') && 15 - version_compare(phpversion(), 7.1, '<')) { 14 + $version = phpversion(); 15 + if (version_compare($version, 7, '>=') && 16 + version_compare($version, 7.1, '<')) { 16 17 $message = pht( 17 - 'This version of Phabricator does not support PHP 7.0. You '. 18 - 'are running PHP %s. Upgrade to PHP 7.1 or newer.', 19 - phpversion()); 18 + 'You are running PHP version %s. Phabricator does not support PHP '. 19 + 'versions between 7.0 and 7.1.'. 20 + "\n\n". 21 + 'PHP removed signal handling features that Phabricator requires in '. 22 + 'PHP 7.0, and did not restore them 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); 20 27 21 28 $this->newIssue('php.version7') 22 29 ->setIsFatal(true) 23 - ->setName(pht('PHP 7.0 Not Supported')) 30 + ->setName(pht('PHP 7.0-7.1 Not Supported')) 24 31 ->setMessage($message) 25 32 ->addLink( 26 33 'https://phurl.io/u/php7',