1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-16 06:17:37 +02:00
git/t/t4018/php-trait
Kana Natsuno 1ab631647e userdiff: support new keywords in PHP hunk header
Recent version of PHP supports interface, trait, abstract class and
final class.  This patch fixes the PHP hunk header regexp to support
all of these keywords.

Signed-off-by: Kana Natsuno <dev@whileimautomaton.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-07-06 14:59:28 -07:00

8 lines
85 B
Plaintext

trait RIGHT
{
public function foo($ChangeMe)
{
return 'foo';
}
}