]> granicus.if.org Git - php/commitdiff
Don't suppress warnings in tests
authorCraig Duncan <git@duncanc.co.uk>
Sun, 20 Nov 2016 16:38:52 +0000 (16:38 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 1 Apr 2017 22:58:56 +0000 (00:58 +0200)
ext/json/tests/pass001.1.phpt
ext/json/tests/pass001.1_64bit.phpt
ext/json/tests/pass001.phpt

index d952e5811f2ed02853b3dcd3be1ac50da188d00b..981d46ea00195be0c08c944e49619cfe78872e41 100644 (file)
@@ -14,8 +14,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
  * Modified to test empty string values.
  * Modified to test a mix of integers and strings as keys.
  */
-// Expect warnings about INF.
-ini_set("error_reporting", E_ALL & ~E_WARNING);
 
 $test = "
 [
index 3970fa434e2d94da2cc14a3316f1b70e05a5ad55..86622aa28346b76395e4d57e9a4d2a0dc80a6fb2 100644 (file)
@@ -14,8 +14,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
  * Modified to test empty string values.
  * Modified to test a mix of integers and strings as keys.
  */
-// Expect warnings about INF.
-ini_set("error_reporting", E_ALL & ~E_WARNING);
 
 $test = "
 [
index 948929d5a584a5b2e7a03491554edbebeb530a27..b035bdb49287a5408ad30fdca6f39af15c2ee2aa 100644 (file)
@@ -8,8 +8,6 @@ if (!extension_loaded('json')) die('skip');
 ?>
 --FILE--
 <?php
-// Expect warnings about INF.
-ini_set("error_reporting", E_ALL & ~E_WARNING);
 
 $test = "
 [