File: DisallowTabIndentUnitTest.inc.fixed

package info (click to toggle)
php-codesniffer 2.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,460 kB
  • ctags: 8,660
  • sloc: php: 40,311; xml: 9,505; pascal: 3,365; makefile: 16; sh: 6
file content (51 lines) | stat: -rw-r--r-- 706 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php

class ExampleClass
{
    function exampleFunction()  {}

}

    $o = <<<EOF
	this is some text
	this is some text
EOF;

    $correctVar = true;
    $correctVar = false;

class MyClass
{
    /**
     * Short    description.
     *
     * @return  void
     */
    public function     myFunction() {  }
}

$str = 'hello
		there';

$foo = array(
    'Česká republika'   => 'Czech republic',
    'România'           => 'Romania',
    'Magyarország'      => 'Hungary',
);

$var = "$hello	$there";

?>
<html>
    <head>
        <title>Foo</title>
    </head>
    <body>
        <div>
            <div>
                <div>
                </div>
            </div>
        </div>
    </body>
</html>