From e6b0a7a55a8d078a4fdfade5ba604372b7a96d09 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 1 Jun 2015 16:35:54 +0200 Subject: Remove check for RAW_POPULATE_POST_DATA for unit tests We do have a work around meanwhile and for CLI this is not relevant at all. Can be removedWe do have a work around meanwhile and for CLI this is not relevant at all. Can be removed. --- tests/bootstrap.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 5945dbdc11f..085eb2069c4 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -6,13 +6,6 @@ if ($configDir) { define('PHPUNIT_CONFIG_DIR', $configDir); } -if (!defined('HHVM_VERSION')) { - if(version_compare(phpversion(), '5.6.0', '>=') && - ini_get('always_populate_raw_post_data') !== '-1') { - throw new Exception("'always_populate_raw_post_data' has to be set to '-1' in your php.ini"); - } -} - require_once __DIR__ . '/../lib/base.php'; // load minimum set of apps -- cgit v1.2.3