Trait methods with Override
attribute with existing parent methods throw error after #14480 was fixed
#14493
Labels
Override
attribute with existing parent methods throw error after #14480 was fixed
#14493
Description
I have a trait method that looks like this
which is used in a class
where
Parenta
looks like(all in the repo here https://github.com/spaze/php-override-test)
and this has started throwing errors () on the patched PHP 8.3.8 after the fix dstogov@955d717 for #14480 has been applied:
see https://github.com/spaze/php-override-test/actions/runs/9409995626/job/25920912091
I'm running tests with shivammathur/setup-php and they have patched 8.3.8 with the mentioned patch see shivammathur/setup-php#849 (comment)
When run with unpatched deb.sury.org package, there's no error (but the code from #14480 throws errors as expected without the patch).
PHP Version
8.3.8 + #14480.patch
Operating System
No response
The text was updated successfully, but these errors were encountered: