1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

11 Commits

Author SHA1 Message Date
DanielEScherzer
0b94cf65e4 GH-16067: prevent invalid abstract during compilation of methods (GH-16069)
For classes that are not declared `abstract`, produce a compiler error for any
`abstract` methods. For anonymous classes, since they cannot be made abstract,
the error message is slightly different.

Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
2024-10-23 15:04:18 +02:00
DanielEScherzer
3b349db1a7 GH-15992: fix error message for single abstract method not implemented (GH-15993) 2024-09-25 22:48:02 +02:00
Nikita Popov
f8d795820e Reindent phpt files 2020-02-03 22:52:20 +01:00
Nikita Popov
8d00385871 Reclassify E_STRICT notices
Per RFC https://wiki.php.net/rfc/reclassify_e_strict

While reviewing this, found that there are still three E_STRICTs
left in libraries - need to discuss those.
2015-04-01 11:17:55 +02:00
Antony Dovgal
bb489851e9 win32 test fixes 2007-04-18 08:06:29 +00:00
Ilia Alshanetsky
3b1e299264 Make use of abstract methods be E_STRICT rather then E_ERROR 2006-10-20 02:44:26 +00:00
Antony Dovgal
7c24d8fbee typofix 2006-07-17 10:08:17 +00:00
Marcus Boerger
9745215cf8 - MFH tests 2006-05-10 21:19:37 +00:00
Marcus Boerger
ffd6f29ef8 Prefix all engine 2 tests 2003-08-09 14:48:47 +00:00
Marcus Boerger
4a152cad0c abstract classes must now be declared abstract 2003-03-07 00:01:08 +00:00
Marcus Boerger
447da280dd Adding tests for abstract static methods 2003-03-03 11:13:56 +00:00