[php-src] PR #11394: Allow final modifier when using a method from a trait

From: Date: Wed, 07 Jun 2023 16:13:37 +0000
Subject: [php-src] PR #11394: Allow final modifier when using a method from a trait
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-22682@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11394 Author: nielsdos Fixes GH-11388. Following https://wiki.php.net/rfc/horizontalreuse which introduced traits, this should be allowed. The implementation was refactored in 3f8c729. That commit is the first time the "final" check appears AFAICT, but no reason was given for why. That commit seems to have landed in 5.4.11 and the NEWS for that version doesn't seem to mention something relevant to the behaviour change. This patch removes the restriction of the final modifier.

« previous php.git-pulls (#22682) next »