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 <dev@whileimautomaton.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e3331758f1
commit
9992fbd7a1
4
t/t4018/php-class
Normal file
4
t/t4018/php-class
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
class RIGHT
|
||||||
|
{
|
||||||
|
const FOO = 'ChangeMe';
|
||||||
|
}
|
4
t/t4018/php-function
Normal file
4
t/t4018/php-function
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
function RIGHT()
|
||||||
|
{
|
||||||
|
return 'ChangeMe';
|
||||||
|
}
|
7
t/t4018/php-method
Normal file
7
t/t4018/php-method
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
class Klass
|
||||||
|
{
|
||||||
|
public static function RIGHT()
|
||||||
|
{
|
||||||
|
return 'ChangeMe';
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user