]> granicus.if.org Git - php/commit
Changed collision warning for Traits to fatal error.
authorStefan Marr <gron@php.net>
Sun, 12 Dec 2010 16:48:02 +0000 (16:48 +0000)
committerStefan Marr <gron@php.net>
Sun, 12 Dec 2010 16:48:02 +0000 (16:48 +0000)
commit1d2a63da5fd0e63b40778c74234edce2f7b0d04d
tree304cc793707a038bc92f901766e35d1d9fd9a0b4
parent7456f1d8f82d41f5ac21b6c888010aaf805af16c
Changed collision warning for Traits to fatal error.
#This change is made to have all possible cases of collisions consistently handled as fatal errors.
#The reason to have it fatal is that most likely something changed unexpectedly and needs urgent attention by the developer, since it will fail eventually anyway for instance because the expected method is missing in the class.
#Discussed in this thread: http://marc.info/?l=php-internals&m=129155790226876
Zend/tests/traits/bugs/case-sensitive.phpt
Zend/tests/traits/conflict001.phpt
Zend/tests/traits/conflict003.phpt
Zend/tests/traits/error_011.phpt
Zend/tests/traits/error_015.phpt
Zend/tests/traits/language011.phpt
Zend/tests/traits/methods_002.phpt
Zend/zend_compile.c