Download this file
21 lines (19 with data), 493 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | <?php
/**
* This file is an exemple of PHP file containing bad indentation.
* 4 whitespaces are expected for each level of indentation.
*
* This file should generate 6 warnings with the default config.
*/
class Indentation {
/**
* Test.
*/
function test() {
$a = $a; // 4 spaces and a token
$b = $b; // 1 tab and a token
$c = $c; // 3 spaces and a token
$d = $d; // 5 spaces and a token
$e = $e; // 1 tab, 1 space spaces and a token
}
}
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.