Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7415786
PropertyLabelSpacingUnitTest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PropertyLabelSpacingUnitTest.php
View Options
<?php
/**
* Unit test class for the PropertyLabel sniff.
*
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
*/
namespace
PHP_CodeSniffer\Standards\Squiz\Tests\WhiteSpace
;
use
PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest
;
/**
* Unit test class for the PropertyLabel sniff.
*
* @covers \PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace\PropertyLabelSpacingSniff
*/
final
class
PropertyLabelSpacingUnitTest
extends
AbstractSniffUnitTest
{
/**
* Returns the lines where errors should occur.
*
* The key of the array should represent the line number and the value
* should represent the number of errors that should occur on that line.
*
* @return array<int, int>
*/
public
function
getErrorList
()
{
return
[
2
=>
1
,
4
=>
1
,
9
=>
2
,
10
=>
1
,
12
=>
1
,
18
=>
1
,
];
}
//end getErrorList()
/**
* Returns the lines where warnings should occur.
*
* The key of the array should represent the line number and the value
* should represent the number of warnings that should occur on that line.
*
* @return array<int, int>
*/
public
function
getWarningList
()
{
return
[];
}
//end getWarningList()
}
//end class
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 02:21 (1 d, 13 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1a/5e/ae7a1bbff20800d17dbb90067f31
Default Alt Text
PropertyLabelSpacingUnitTest.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment