svn: /php/php-src/ branches/PHP_5_4/Zend/tests/traits/bug60165a.phpt branches/PHP_5_4/Zend/tests/traits/bug60165b.phpt
branches/PHP_5_4/Zend/tests/traits/bug60165c.phpt branches/PHP_5_4/Zend/tests/traits/bug60165d.phpt
branches/PHP_5_4/Zend/tests/traits/language011.phpt branches/PHP_5_4/Zend/zend_compile.c trunk/Zend/tests/traits/bug60165a.phpt
trunk/Zend/tests/traits/bug60165b.phpt trunk/Zend/tests/traits/bug60165c.phpt trunk/Zend/tests/traits/bug60165d.phpt
trunk/Zend/tests/traits/language011.

From: Date: Thu, 17 Nov 2011 21:04:15 +0000
Subject: svn: /php/php-src/ branches/PHP_5_4/Zend/tests/traits/bug60165a.phpt branches/PHP_5_4/Zend/tests/traits/bug60165b.phpt
branches/PHP_5_4/Zend/tests/traits/bug60165c.phpt branches/PHP_5_4/Zend/tests/traits/bug60165d.phpt
branches/PHP_5_4/Zend/tests/traits/language011.phpt branches/PHP_5_4/Zend/zend_compile.c trunk/Zend/tests/traits/bug60165a.phpt
trunk/Zend/tests/traits/bug60165b.phpt trunk/Zend/tests/traits/bug60165c.phpt trunk/Zend/tests/traits/bug60165d.phpt
trunk/Zend/tests/traits/language011.
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67022@lists.php.net to get a copy of this message
gron Thu, 17 Nov 2011 21:04:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=319420 Log: Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error) - aliases that are not actually matching anything are treated as errors now. This will make sure that all methods that are expected to be in a class are actually there, or in case a trait changed for instance, that the code breaks already on composition - Precedence declarations are also checked to ensure that the method which is supposed to take precedence actually exists, however, the other traits mentioned in the declaration are not regarded. We are more lenient here, since this avoids unnecessary fragility. - fixed another seamingly unrelated test which broke in the progress but wasn't clear before either. Bug: https://bugs.php.net/60165 (Assigned) Overriding unexisting trait should throw/trigger the exception/error Changed paths: A php/php-src/branches/PHP_5_4/Zend/tests/traits/bug60165a.phpt A php/php-src/branches/PHP_5_4/Zend/tests/traits/bug60165b.phpt A php/php-src/branches/PHP_5_4/Zend/tests/traits/bug60165c.phpt A php/php-src/branches/PHP_5_4/Zend/tests/traits/bug60165d.phpt U php/php-src/branches/PHP_5_4/Zend/tests/traits/language011.phpt U php/php-src/branches/PHP_5_4/Zend/zend_compile.c A php/php-src/trunk/Zend/tests/traits/bug60165a.phpt A php/php-src/trunk/Zend/tests/traits/bug60165b.phpt A php/php-src/trunk/Zend/tests/traits/bug60165c.phpt A php/php-src/trunk/Zend/tests/traits/bug60165d.phpt U php/php-src/trunk/Zend/tests/traits/language011.phpt U php/php-src/trunk/Zend/zend_compile.c

Attachment: [text/x-diff] svn-diffs-319420.txt
« previous php.cvs (#67022) next »