1Comments
2-----
3<?php
4
5function justForIndentation()
6{
7    // Some text
8    # Some text
9    /* Some text */
10    /** Some text */
11    /**
12     * Some text.
13     * Some more text.
14     */
15    /*
16     * Some text.
17     * Some more text.
18     */
19    /*
20        Some text.
21        Some more text.
22    */
23    /* Some text.
24       More text. */
25    /* Some text.
26       More text.
27       Even more text. */
28    $foo;
29}
30-----
31function justForIndentation()
32{
33    // Some text
34    # Some text
35    /* Some text */
36    /** Some text */
37    /**
38     * Some text.
39     * Some more text.
40     */
41    /*
42     * Some text.
43     * Some more text.
44     */
45    /*
46        Some text.
47        Some more text.
48    */
49    /* Some text.
50       More text. */
51    /* Some text.
52       More text.
53       Even more text. */
54    $foo;
55}
56-----
57<?php
58
59function test()
60{
61    // empty
62}
63-----
64function test()
65{
66    // empty
67}
68-----
69<?php
70
71function noDuplicateComment()
72{
73    if (true):
74        // TEST 1
75    elseif (true):
76        // TEST 2
77    else:
78        // TEST 3
79    endif;
80}
81-----
82function noDuplicateComment()
83{
84    if (true) {
85        // TEST 1
86    } elseif (true) {
87        // TEST 2
88    } else {
89        // TEST 3
90    }
91}
92