com php-src: Don't suppress warnings in tests: ext/json/tests/pass001.1.phpt ext/json/tests/pass001. 1_64bit.phpt ext/json/tests/pass001.phpt
[email protected] (Nikita Popov)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 16202b7d6750b794b2787c94d5e08f74e222fe75 Author: Craig Duncan <[email protected]> Sun, 20 Nov 2016 16:38:52 +0000 Committer: Nikita Popov <[email protected]> Sun, 2 Apr 2017 00:58:56 +0200 Parents: 9f08aff3fdd4d1898f5b4bd72ac4c9614d4c65a3 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=16202b7d6750b794b2787c94d5e08f74e222fe75 Log: Don't suppress warnings in tests Changed paths: M ext/json/tests/pass001.1.phpt M ext/json/tests/pass001.1_64bit.phpt M ext/json/tests/pass001.phpt Diff: diff --git a/ext/json/tests/pass001.1.phpt b/ext/json/tests/pass001.1.phpt index d952e58..981d46e 100644 --- a/ext/json/tests/pass001.1.phpt +++ b/ext/json/tests/pass001.1.phpt @@ -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 = " [ diff --git a/ext/json/tests/pass001.1_64bit.phpt b/ext/json/tests/pass001.1_64bit.phpt index 3970fa4..86622aa 100644 --- a/ext/json/tests/pass001.1_64bit.phpt +++ b/ext/json/tests/pass001.1_64bit.phpt @@ -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 = " [ diff --git a/ext/json/tests/pass001.phpt b/ext/json/tests/pass001.phpt index 948929d..b035bdb 100644 --- a/ext/json/tests/pass001.phpt +++ b/ext/json/tests/pass001.phpt @@ -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 = " [