php-src/Zend/tests/traits
Nikita Popov a80360dbed Deprecate direct access to static trait members
Static trait members may only be accessed through a class in which
the trait is used, not directly on the trait.

A complication here is that we should not store static
methods/properties for which a deprecation is triggered in a
cache slot. As the check for this is simple and cheap, I'm handling
this in the cache slot population code in the VM. The alternative
would be to pass the cache slot down into the fetching code.

Part of https://wiki.php.net/rfc/deprecations_php_8_1.
2021-07-09 14:12:28 +02:00
..
bugs Improve output of tokens in Parse Errors 2020-07-13 11:07:40 +02:00
abstract_method_1.phpt Check abstract method signatures coming from traits 2020-03-26 10:07:22 +01:00
abstract_method_2.phpt Check abstract method signatures coming from traits 2020-03-26 10:07:22 +01:00
abstract_method_3.phpt Check abstract method signatures coming from traits 2020-03-26 10:07:22 +01:00
abstract_method_4.phpt Check abstract method signatures coming from traits 2020-03-26 10:07:22 +01:00
abstract_method_5.phpt Check abstract method signatures coming from traits 2020-03-26 10:07:22 +01:00
abstract_method_6.phpt Check abstract method signatures coming from traits 2020-03-26 10:07:22 +01:00
abstract_method_7.phpt Check abstract method signatures coming from traits 2020-03-26 10:07:22 +01:00
abstract_method_8.phpt Fix treatment of "self" when validating against trait method 2020-04-23 11:41:34 +02:00
abstract_method_9.phpt Fix treatment of "self" when validating against trait method 2020-04-23 11:41:34 +02:00
abstract_method_10.phpt Fix treatment of "self" when validating against trait method 2020-04-23 11:41:34 +02:00
bug54441.phpt Resolve trait alias refers to earlier 2020-03-03 14:23:31 +01:00
bug55137.phpt
bug55214.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug55355.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug55372.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug55424.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug55524.phpt Improve output of tokens in Parse Errors 2020-07-13 11:07:40 +02:00
bug60145.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60153.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60165a.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60165b.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60165c.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60165d.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60173.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60217a.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60217b.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60217c.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60369.phpt
bug60717.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug60809.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug61052.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug61998.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug63911.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug64070.phpt
bug64235.phpt
bug64235b.phpt
bug65576a.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug65576b.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug69579.phpt Migrate SKIPIF -> EXTENSIONS (#7138) 2021-06-11 11:57:42 +02:00
bug74607.phpt
bug74607a.phpt
bug74922.phpt
bug74922a.phpt
bug74922b.inc
bug74922b.phpt
bug74922c.phpt
bug75607.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug75607a.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug76539.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
bug76700.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
bug76773.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
conflict001.phpt Enable better trait conflict error message 2020-03-10 16:19:11 +01:00
conflict002.phpt Fix #78880: Another bunch of spelling errors 2020-01-16 09:46:47 +01:00
conflict003.phpt Enable better trait conflict error message 2020-03-10 16:19:11 +01:00
direct_static_member_access.phpt Deprecate direct access to static trait members 2021-07-09 14:12:28 +02:00
error_001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
error_002.phpt Review the usage of apostrophes in error messages 2020-07-10 21:05:28 +02:00
error_003.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
error_004.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
error_005.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
error_006.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
error_007.phpt
error_008.phpt
error_009.phpt
error_010.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
error_011.phpt Enable better trait conflict error message 2020-03-10 16:19:11 +01:00
error_012.phpt Review the usage of apostrophes in error messages 2020-07-10 21:05:28 +02:00
error_013.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
error_014.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
error_015.phpt Enable better trait conflict error message 2020-03-10 16:19:11 +01:00
error_016.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
flattening001.phpt
flattening002.phpt
flattening003.phpt
get_declared_traits_001.phpt
get_declared_traits_002.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
get_declared_traits_003.phpt
get_declared_traits_004.phpt Use IS_ALIAS_PTR to make distinct between aliasses and real classes 2021-02-10 00:00:55 +03:00
inheritance001.phpt Fix #78880: Another bunch of spelling errors 2020-01-16 09:46:47 +01:00
inheritance002.phpt
inheritance003.phpt
interface_001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
interface_002.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
interface_003.phpt Partially deprecate Serializable 2021-04-28 16:55:14 +02:00
language001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
language002.phpt
language003.phpt
language004.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
language005.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
language006.phpt
language007.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
language008a.phpt Review the usage of apostrophes in error messages 2020-07-10 21:05:28 +02:00
language008b.phpt Review the usage of apostrophes in error messages 2020-07-10 21:05:28 +02:00
language009.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
language010.phpt Enable better trait conflict error message 2020-03-10 16:19:11 +01:00
language011.phpt Enable better trait conflict error message 2020-03-10 16:19:11 +01:00
language012.phpt
language013.phpt
language014.phpt Enable better trait conflict error message 2020-03-10 16:19:11 +01:00
language015.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
language016.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
language017.phpt Add many missing closing PHP tags to tests 2020-08-09 22:03:36 +02:00
language018.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
language019.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
methods_001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
methods_002.phpt Enable better trait conflict error message 2020-03-10 16:19:11 +01:00
methods_003.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
no_static_arg_binding.phpt
precedence_unknown_class.phpt Fix handling of unknown class in trait precedence list 2021-03-19 16:04:47 +01:00
property001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
property002.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
property003.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
property004.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
property005.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
property006.phpt
property007.phpt
property008.phpt Change the order of properties used for var_dump(), serialize(), comparison, etc. 2021-03-01 13:29:49 +03:00
property009.phpt Fix #78880: Another bunch of spelling errors 2020-01-16 09:46:47 +01:00
static_001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
static_002.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
static_003.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
static_004.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
static_forward_static_call.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
static_get_called_class.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
trait_constant_001.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
trait_constant_002.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00