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

Don't warn about "always_populate_raw_post_data" on PHP7

Summary: Ref T9640. This option was removed in PHP7, so there's no reason to warn about it.

Test Plan: No longer saw a setup warning on PHP7.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9640

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

+7 -1
+7 -1
src/applications/config/check/PhabricatorPHPConfigSetupCheck.php
··· 40 40 ->setMessage($message); 41 41 } 42 42 43 - $raw_post_data = (int)ini_get('always_populate_raw_post_data'); 43 + if (version_compare(phpversion(), '7', '>=')) { 44 + // This option was removed in PHP7. 45 + $raw_post_data = -1; 46 + } else { 47 + $raw_post_data = (int)ini_get('always_populate_raw_post_data'); 48 + } 49 + 44 50 if ($raw_post_data != -1) { 45 51 $summary = pht( 46 52 'PHP setting "%s" should be set to "-1" to avoid deprecation '.