1<?php
2/**
3 * Unit test class for the LanguageConstructSpacing sniff.
4 *
5 * @author    Greg Sherwood <gsherwood@squiz.net>
6 * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
7 * @license   https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
8 */
9
10namespace PHP_CodeSniffer\Standards\Squiz\Tests\WhiteSpace;
11
12use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
13
14class LanguageConstructSpacingUnitTest extends AbstractSniffUnitTest
15{
16
17
18    /**
19     * Returns the lines where errors should occur.
20     *
21     * The key of the array should represent the line number and the value
22     * should represent the number of errors that should occur on that line.
23     *
24     * @return array<int, int>
25     */
26    public function getErrorList()
27    {
28        return [
29            3  => 1,
30            7  => 1,
31            11 => 1,
32            15 => 1,
33            19 => 1,
34            23 => 1,
35            27 => 1,
36            31 => 1,
37            34 => 1,
38            35 => 1,
39            39 => 1,
40        ];
41
42    }//end getErrorList()
43
44
45    /**
46     * Returns the lines where warnings should occur.
47     *
48     * The key of the array should represent the line number and the value
49     * should represent the number of warnings that should occur on that line.
50     *
51     * @return array<int, int>
52     */
53    public function getWarningList()
54    {
55        return [];
56
57    }//end getWarningList()
58
59
60}//end class
61