diff options
author | Kana Natsuno <dev@whileimautomaton.net> | 2018-07-03 22:15:40 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-06 14:59:28 -0700 |
commit | 1ab631647e3addd247c5482e8a3d4c9df7978c62 (patch) | |
tree | 1bbc145b8273ce532ce87863c235fdce1162cf47 /t/t4018/php-abstract-class | |
parent | t4018: add missing test cases for PHP (diff) | |
download | tgif-1ab631647e3addd247c5482e8a3d4c9df7978c62.tar.xz |
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>
Diffstat (limited to 't/t4018/php-abstract-class')
-rw-r--r-- | t/t4018/php-abstract-class | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4018/php-abstract-class b/t/t4018/php-abstract-class new file mode 100644 index 0000000000..5213e12494 --- /dev/null +++ b/t/t4018/php-abstract-class @@ -0,0 +1,4 @@ +abstract class RIGHT +{ + const FOO = 'ChangeMe'; +} |