-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathPropertyCommentUnitTest.php
More file actions
49 lines (44 loc) · 1.22 KB
/
PropertyCommentUnitTest.php
File metadata and controls
49 lines (44 loc) · 1.22 KB
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
<?php
/**
* This file is part of the mo4-coding-standard (phpcs standard)
*
* @author Xaver Loppenstedt <xaver@loppenstedt.de>
*
* @license http://spdx.org/licenses/MIT MIT License
*
* @link https://github.com/mayflower/mo4-coding-standard
*/
declare(strict_types=1);
namespace MO4\Tests\Commenting;
use MO4\Tests\AbstractMo4SniffUnitTestCase;
/**
* Unit test class for the AlphabeticalUseStatements sniff.
*
* A sniff unit test checks a .inc file for expected violations of a single
* coding standard. Expected errors and warnings are stored in this class.
*
* @author Xaver Loppenstedt <xaver@loppenstedt.de>
*
* @copyright 2014-2021 Xaver Loppenstedt, some rights reserved.
*
* @license http://spdx.org/licenses/MIT MIT License
*
* @link https://github.com/mayflower/mo4-coding-standard
*/
final class PropertyCommentUnitTest extends AbstractMo4SniffUnitTestCase
{
protected $expectedErrorList = [
'PropertyCommentUnitTest.pass.inc' => [],
'PropertyCommentUnitTest.fail.inc' => [
7 => 1,
10 => 1,
17 => 1,
26 => 2,
29 => 1,
34 => 1,
37 => 2,
41 => 1,
44 => 1,
],
];
}