summaryrefslogtreecommitdiff
path: root/t/t4018
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-09-10 11:46:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-10 11:46:27 -0700
commit6dbe1b4ee21bb52b2069fc0330915483ec020386 (patch)
tree4562d5185d7092271803eb56f7850ccd05fac724 /t/t4018
parentMerge branch 'tk/fast-export-anonymized-tag-fix' (diff)
parentuserdiff: support enum keyword in PHP hunk header (diff)
downloadtgif-6dbe1b4ee21bb52b2069fc0330915483ec020386.tar.xz
Merge branch 'uk/userdiff-php-enum'
Update the userdiff pattern for PHP. * uk/userdiff-php-enum: userdiff: support enum keyword in PHP hunk header
Diffstat (limited to 't/t4018')
-rw-r--r--t/t4018/php-enum4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4018/php-enum b/t/t4018/php-enum
new file mode 100644
index 0000000000..91a69c1a2b
--- /dev/null
+++ b/t/t4018/php-enum
@@ -0,0 +1,4 @@
+enum RIGHT: string
+{
+ case Foo = 'ChangeMe';
+}