Page MenuHomeWickedGov Phorge

NotAllowedViaAttributeSniff.php
No OneTemporary

Size
485 B
Referenced Files
None
Subscribers
None

NotAllowedViaAttributeSniff.php

<?php
/**
* Test fixture.
*
* @see \PHP_CodeSniffer\Tests\Core\Ruleset\SetSniffPropertyTest
*/
namespace Fixtures\Sniffs\SetProperty;
use AllowDynamicProperties;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
#[AllowDynamicProperties]
class NotAllowedViaAttributeSniff implements Sniff
{
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:31 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b4/c9/d970a22f902facca0fd278daba92
Default Alt Text
NotAllowedViaAttributeSniff.php (485 B)

Event Timeline