php-src/Zend/tests/traits
Nikita Popov 3ae995f03c Tweak uncaught exception message display
This implements a reduced variant of #1226 with just the following
change:

-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d

The '' wrapper around messages is very weird if the exception
message itself contains ''. Futhermore having the message wrapped
in '' doesn't work for the "and defined" suffix of
TypeExceptions.
2015-05-17 18:47:06 +02:00
..
bugs Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
bug54441.phpt typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-19 20:23:00 +00:00
bug55137.phpt Added test case which was only added to trunk, bug seems to be fixed already. 2011-07-23 13:42:58 +00:00
bug55214.phpt Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments. 2012-01-17 08:09:13 +00:00
bug55355.phpt Fixed Bug #55355: Inheritance chain was not regarded when checking whether the abstract method of a trait is satisfied. 2011-08-15 11:16:18 +00:00
bug55372.phpt Fixed Bug #55372 Incorrect handling of literals led to memory corruption. 2011-08-15 09:54:06 +00:00
bug55424.phpt Bug #55424 Fatal error when calling a method from a trait that is defined in parent class and required by using an abstract method in the trait. 2011-08-15 22:16:58 +00:00
bug55524.phpt Removed parsing support traits to have extends and implements. 2015-01-09 15:45:02 +01:00
bug55554a.phpt Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC] 2011-10-09 11:13:27 +00:00
bug55554b.phpt Finish PHP 4 constructor deprecation 2015-03-31 17:55:27 +02:00
bug55554c.phpt Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC] 2011-10-09 11:13:27 +00:00
bug55554d.phpt Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC] 2011-10-09 11:13:27 +00:00
bug55554e.phpt Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC] 2011-10-09 11:13:27 +00:00
bug55554f.phpt Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC] 2011-10-09 11:13:27 +00:00
bug55554g.phpt Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC] 2011-10-09 11:13:27 +00:00
bug60145.phpt Fixed Bug #60145 (Usage of trait's use statement inside interfaces not properly checked.) 2011-11-01 00:39:10 +00:00
bug60153.phpt Traits refactoring 2012-12-25 10:23:08 +04:00
bug60165a.phpt Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error) 2011-11-17 21:04:15 +00:00
bug60165b.phpt Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error) 2011-11-17 21:04:15 +00:00
bug60165c.phpt Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error) 2011-11-17 21:04:15 +00:00
bug60165d.phpt Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error) 2011-11-17 21:04:15 +00:00
bug60173.phpt Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
bug60217a.phpt Fixed Bug #60217 (Requiring the same method from different traits) 2011-11-05 01:46:40 +00:00
bug60217b.phpt Traits refactoring 2012-12-25 10:23:08 +04:00
bug60217c.phpt Traits refactoring 2012-12-25 10:23:08 +04:00
bug60369.phpt Fixed Bug #60369 Crash with static property in trait 2011-11-23 21:24:34 +00:00
bug60717.phpt Fixed Bug #60717 (Order of traits in use statement can cause a fatal error) 2012-03-04 18:26:11 +00:00
bug60809.phpt Fixed Bug #60809 (TRAITS - PHPDoc Comment Style Bug) 2012-01-20 12:30:57 +00:00
bug61052.phpt Fixed Bug #61052 (Missing error check in trait 'insteadof' clause) 2012-03-04 19:34:19 +00:00
bug61998.phpt Fixed bug #61998 (Using traits with method aliases appears to result in crash during execution) 2012-05-21 13:46:07 +04:00
bug64070.phpt Fixed bug #64070 (Inheritance with Traits failed with error) 2013-02-18 16:07:51 +04:00
bug64235.phpt Fixed bug #64235 (Insteadof not work for class method in 5.4.11) 2013-02-21 18:18:41 +08:00
bug64235b.phpt Fixed bug #64235 (Insteadof not work for class method in 5.4.11) 2013-02-21 18:18:41 +08:00
bug65576a.phpt Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor) 2014-12-12 14:58:23 +01:00
bug65576b.phpt Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor) 2014-12-12 14:58:23 +01:00
conflict001.phpt Changed collision warning for Traits to fatal error. 2010-12-12 16:48:02 +00:00
conflict002.phpt
conflict003.phpt Changed collision warning for Traits to fatal error. 2010-12-12 16:48:02 +00:00
error_001.phpt - New tests 2010-05-04 19:06:13 +00:00
error_002.phpt - New tests 2010-05-04 19:06:13 +00:00
error_003.phpt - New tests 2010-05-04 19:06:13 +00:00
error_004.phpt - New tests 2010-05-04 19:06:13 +00:00
error_005.phpt - New tests 2010-05-04 19:06:13 +00:00
error_006.phpt - New tests 2010-05-04 19:06:13 +00:00
error_007.phpt Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
error_008.phpt - New tests 2010-05-04 19:06:13 +00:00
error_009.phpt - New tests 2010-05-04 19:06:13 +00:00
error_010.phpt Traits refactoring 2012-12-25 10:23:08 +04:00
error_011.phpt Changed collision warning for Traits to fatal error. 2010-12-12 16:48:02 +00:00
error_012.phpt Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
error_013.phpt - New tests 2010-05-06 19:21:11 +00:00
error_014.phpt - New tests 2010-05-06 19:21:11 +00:00
error_015.phpt Changed collision warning for Traits to fatal error. 2010-12-12 16:48:02 +00:00
error_016.phpt - Added check for constant creation on Traits 2010-05-07 11:09:35 +00:00
flattening001.phpt
flattening002.phpt
flattening003.phpt
get_declared_traits_001.phpt - New tests 2010-05-06 15:49:58 +00:00
get_declared_traits_002.phpt - New tests 2010-05-06 15:49:58 +00:00
get_declared_traits_003.phpt - New tests 2010-05-06 15:49:58 +00:00
inheritance001.phpt
inheritance002.phpt
inheritance003.phpt Traits refactoring 2012-12-25 10:23:08 +04:00
interface_001.phpt - Fixed ZEND_VERIFY_ABSTRACT_CLASS order when using traits 2010-05-07 16:29:15 +00:00
interface_002.phpt - Fixed ZEND_VERIFY_ABSTRACT_CLASS order when using traits 2010-05-07 16:29:15 +00:00
interface_003.phpt - Fixed ZEND_VERIFY_ABSTRACT_CLASS order when using traits 2010-05-07 16:29:15 +00:00
language001.phpt
language002.phpt
language003.phpt
language004.phpt
language005.phpt
language006.phpt
language007.phpt
language008a.phpt Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
language008b.phpt Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
language009.phpt Fixed Bug #55554 (Legacy constructors not handled properly) [TRAITS] [DOC] 2011-10-09 11:13:27 +00:00
language010.phpt Fixed a inconsitent condition for aliasing traits. 2011-05-13 20:28:34 +00:00
language011.phpt Fixed Bug #60165 (Aliasing unexisting trait should throw/trigger the exception/error) 2011-11-17 21:04:15 +00:00
language012.phpt Fixed issue with statics in traits. 2010-06-08 15:56:36 +00:00
language013.phpt Fixed issue with statics in traits. 2010-06-08 15:56:36 +00:00
language014.phpt Traits refactoring 2012-12-25 10:23:08 +04:00
language015.phpt Fixed bug #64235 (Insteadof not work for class method in 5.4.11) 2013-02-21 18:18:41 +08:00
language016.phpt Fixed bug #64235 (Insteadof not work for class method in 5.4.11) 2013-02-21 18:18:41 +08:00
language017.phpt Fixed bug #64235 (Insteadof not work for class method in 5.4.11) 2013-02-21 18:18:41 +08:00
language018.phpt spelling 2012-12-25 16:21:25 +04:00
language019.phpt Traits refactoring 2012-12-25 10:23:08 +04:00
methods_001.phpt - Fixed magic method and constructor copy for traits 2010-05-07 13:55:27 +00:00
methods_002.phpt Changed collision warning for Traits to fatal error. 2010-12-12 16:48:02 +00:00
methods_003.phpt - Fixed magic method and constructor copy for traits 2010-05-07 13:55:27 +00:00
noctor001.phpt Finish PHP 4 constructor deprecation 2015-03-31 17:55:27 +02:00
property001.phpt Reclassify E_STRICT notices 2015-04-01 11:17:55 +02:00
property002.phpt Added strict handling of properties in traits. 2010-12-20 00:52:40 +00:00
property003.phpt Added strict handling of properties in traits. 2010-12-20 00:52:40 +00:00
property004.phpt Added strict handling of properties in traits. 2010-12-20 00:52:40 +00:00
property005.phpt Reclassify E_STRICT notices 2015-04-01 11:17:55 +02:00
property006.phpt Reclassify E_STRICT notices 2015-04-01 11:17:55 +02:00
property007.phpt Reclassify E_STRICT notices 2015-04-01 11:17:55 +02:00
property008.phpt Fixed inconsistent and broken handling of private properties in traits. 2011-12-17 14:26:39 +00:00
property009.phpt Reclassify E_STRICT notices 2015-04-01 11:17:55 +02:00
static_001.phpt Added tests to for static support of traits. 2010-11-17 23:05:20 +00:00
static_002.phpt Added tests to for static support of traits. 2010-11-17 23:05:20 +00:00
static_003.phpt Added tests to for static support of traits. 2010-11-17 23:05:20 +00:00
static_004.phpt Added tests to for static support of traits. 2010-11-17 23:05:20 +00:00
static_forward_static_call.phpt Added tests to for static support of traits. 2010-11-17 23:05:20 +00:00
static_get_called_class.phpt Added tests to for static support of traits. 2010-11-17 23:05:20 +00:00
trait_constant_001.phpt Added __TRAIT__ magic constant [TRAITS] [DOC] 2011-07-31 17:39:30 +00:00
trait_constant_002.phpt Added __TRAIT__ magic constant [TRAITS] [DOC] 2011-07-31 17:39:30 +00:00