Skip to content

Commit bf06367

Browse files
authored
Merge pull request #48 from emacs-php/update/tests
Update tests
2 parents 3ccf0d4 + 9ec36ed commit bf06367

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

tests/php-ts-mode-resources/indent.erts

+38
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Point-Char: |
1010
Name: Basic
1111

1212
=-=
13+
<?php
14+
1315
class Basic {
1416
public function basic(): void {
1517
return;
@@ -20,9 +22,45 @@ class Basic {
2022
Name: Empty Line
2123

2224
=-=
25+
<?php
26+
2327
class EmptyLine {
2428
public function emptyLine(): void {
2529
|
2630
}
2731
}
2832
=-=-=
33+
Name: Function
34+
35+
=-=
36+
<?php
37+
38+
function basic(): void {
39+
return;
40+
}
41+
=-=-=
42+
43+
Name: Function with a PHPDoc
44+
45+
=-=
46+
<?php
47+
48+
/**
49+
* Summary
50+
*/
51+
function with_phpdoc(): void {
52+
return;
53+
}
54+
=-=-=
55+
56+
Name: Namespace function
57+
58+
=-=
59+
<?php
60+
61+
namespace Ns;
62+
63+
function ns_func(): void {
64+
return;
65+
}
66+
=-=-=

0 commit comments

Comments
 (0)