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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to