1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 07:28:09 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Nikita Popov 149029b9d6 Unify magic method visibility check
This was missing entirely for the internal function case.
2020-07-20 11:12:47 +02:00
Nikita Popov fbbcf82ab7 Unify static/non-static check for magic methods
And promote it to be fatal.
2020-07-20 10:39:43 +02:00
Gabriel Caruso 7ce8c5ad89 Slipt error messages while checking magic methods attributes
Closes GH-5465
2020-04-27 16:32:00 +02:00
Gabriel Caruso add8c15a31 Align magic methods' camelCase with documentation
Closes GH-5398
2020-04-16 13:53:13 +02:00
Gabriel Caruso 75a58ba522 Improve error messages for magic methods by appending method's class
Closes GH-5397.
2020-04-16 10:34:58 +02:00
Nikita Popov f8d795820e Reindent phpt files 2020-02-03 22:52:20 +01:00
Matt Wilmas 2462fce244 MFH: Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:46:54 +00:00
Felipe Pena dc697bcea4 - Change E_COMPILE_ERROR to E_WARNING (for wrong visibility on magic methods) 2008-06-10 23:09:09 +00:00
Felipe Pena 402fb5285d - MFH: Fixed bug #44769 (declaring private magic methods should throw error) 2008-06-03 14:07:15 +00:00