In camelCase names are written without any punctuation, the start of each new word
being marked by a capital letter. The whole name starts with a capital letter as well.
Thus the name database provider becomes DatabaseProvider.
Loading history...
24
{
25
26
/**
27
* Returns the lines where errors should occur.
28
*
29
* The key of the array should represent the line number and the value
30
* should represent the number of errors that should occur on that line.
31
*
32
* @param string $testFile Name of the file with test data.
33
*
34
* @return array(int => int)
35
*/
36
public function getErrorList($testFile)
37
{
38
return array(
39
12 => 1,
40
17 => 1,
41
);
42
43
}//end getErrorList()
44
45
46
/**
47
* Returns the lines where warnings should occur.
48
*
49
* The key of the array should represent the line number and the value
50
* should represent the number of warnings that should occur on that line.
51
*
52
* @param string $testFile Name of the file with test data.
Classes in PHP are usually named in CamelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.
Thus the name database provider becomes
DatabaseProvider
.