Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7410907
EmptyRemovalVersionSniff.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
728 B
Referenced Files
None
Subscribers
None
EmptyRemovalVersionSniff.php
View Options
<?php
/**
* Test fixture.
*
* @see \PHP_CodeSniffer\Tests\Core\Ruleset\SniffDeprecationTest
*/
namespace
Fixtures\Sniffs\DeprecatedInvalid
;
use
PHP_CodeSniffer\Files\File
;
use
PHP_CodeSniffer\Sniffs\DeprecatedSniff
;
use
PHP_CodeSniffer\Sniffs\Sniff
;
class
EmptyRemovalVersionSniff
implements
Sniff
,
DeprecatedSniff
{
public
function
getDeprecationVersion
()
{
return
'dummy'
;
}
public
function
getRemovalVersion
()
{
return
''
;
}
public
function
getDeprecationMessage
()
{
return
'dummy'
;
}
public
function
register
()
{
return
[
T_WHITESPACE
];
}
public
function
process
(
File
$phpcsFile
,
$stackPtr
)
{
// Do something.
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 23:17 (1 d, 22 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
99/78/6f4c3a59884708676f61d8e15638
Default Alt Text
EmptyRemovalVersionSniff.php (728 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment