svn: /php/php-src/ branches/PHP_5_4/Zend/tests/traits/property001.phpt trunk/Zend/tests/traits/property001.phpt
| From: | Stefan Marr | Date: | Sun, 31 Jul 2011 16:15:40 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_4/Zend/tests/traits/property001.phpt trunk/Zend/tests/traits/property001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65656@lists.php.net to get a copy of this message | ||
gron Sun, 31 Jul 2011 16:15:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313992
Log:
Fixed test which was assuming that E_STRICT is not on by default.
Changed paths:
U php/php-src/branches/PHP_5_4/Zend/tests/traits/property001.phpt
U php/php-src/trunk/Zend/tests/traits/property001.phpt
Modified: php/php-src/branches/PHP_5_4/Zend/tests/traits/property001.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/tests/traits/property001.phpt 2011-07-31 12:27:47 UTC (rev
313991)
+++ php/php-src/branches/PHP_5_4/Zend/tests/traits/property001.phpt 2011-07-31 16:15:40 UTC (rev
313992)
@@ -13,6 +13,7 @@
}
echo "PRE-CLASS-GUARD-TraitsTest\n";
+error_reporting(E_ALL & ~E_STRICT); // ensuring that it is only for E_STRICT
class TraitsTest {
use THello1;
Modified: php/php-src/trunk/Zend/tests/traits/property001.phpt
===================================================================
--- php/php-src/trunk/Zend/tests/traits/property001.phpt 2011-07-31 12:27:47 UTC (rev 313991)
+++ php/php-src/trunk/Zend/tests/traits/property001.phpt 2011-07-31 16:15:40 UTC (rev 313992)
@@ -13,6 +13,7 @@
}
echo "PRE-CLASS-GUARD-TraitsTest\n";
+error_reporting(E_ALL & ~E_STRICT); // ensuring that it is only for E_STRICT
class TraitsTest {
use THello1;