Page MenuHomeWickedGov Phorge

AllowedAsDeclaredSniff.php
No OneTemporary

Size
484 B
Referenced Files
None
Subscribers
None

AllowedAsDeclaredSniff.php

<?php
/**
* Test fixture.
*
* @see \PHP_CodeSniffer\Tests\Core\Ruleset\SetSniffPropertyTest
*/
namespace Fixtures\Sniffs\SetProperty;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
class AllowedAsDeclaredSniff implements Sniff
{
public $arbitrarystring;
public $arbitraryarray;
public function register()
{
return [T_WHITESPACE];
}
public function process(File $phpcsFile, $stackPtr)
{
// Do something.
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 21, 21:38 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
43/5d/abf2b17036b9f35afb2c7637be2d
Default Alt Text
AllowedAsDeclaredSniff.php (484 B)

Event Timeline