[php-src] PR #17381: Relax final+private warning for trait methods with inherited final
| From: | iluuu1994 | Date: | Mon, 06 Jan 2025 14:30:30 +0000 |
| Subject: | [php-src] PR #17381: Relax final+private warning for trait methods with inherited final | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30276@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17381
Author: iluuu1994
Fixes GH-17214
Small note: I thought we'd have to support
as final private, which would not work
with this approach. But then noticed that strangely the grammar only allows for a single modifier
for the trait alias. Thus, we luckily don't need to handle the case where both final and the
visibility can change.