From: Kana Natsuno Date: Tue, 3 Jul 2018 13:15:39 +0000 (+0900) Subject: t4018: add missing test cases for PHP X-Git-Tag: v2.19.0-rc0~134^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9992fbd7a1fdcc8fbaf0973a18d0eca94e1b7638;p=thirdparty%2Fgit.git t4018: add missing test cases for PHP A later patch changes the built-in PHP pattern. These test cases demonstrate aspects of the pattern that we do not want to change. Signed-off-by: Kana Natsuno Signed-off-by: Junio C Hamano --- diff --git a/t/t4018/php-class b/t/t4018/php-class new file mode 100644 index 0000000000..7785b6303c --- /dev/null +++ b/t/t4018/php-class @@ -0,0 +1,4 @@ +class RIGHT +{ + const FOO = 'ChangeMe'; +} diff --git a/t/t4018/php-function b/t/t4018/php-function new file mode 100644 index 0000000000..35717c51c3 --- /dev/null +++ b/t/t4018/php-function @@ -0,0 +1,4 @@ +function RIGHT() +{ + return 'ChangeMe'; +} diff --git a/t/t4018/php-method b/t/t4018/php-method new file mode 100644 index 0000000000..03af1a6d9d --- /dev/null +++ b/t/t4018/php-method @@ -0,0 +1,7 @@ +class Klass +{ + public static function RIGHT() + { + return 'ChangeMe'; + } +}