diff --git a/Neuralab-Silent/Sniffs/SilentFallbackSniff.php b/Neuralab-Silent/Sniffs/Test/SilentFallbackSniff.php similarity index 94% rename from Neuralab-Silent/Sniffs/SilentFallbackSniff.php rename to Neuralab-Silent/Sniffs/Test/SilentFallbackSniff.php index 7a1dd3b..63660ac 100644 --- a/Neuralab-Silent/Sniffs/SilentFallbackSniff.php +++ b/Neuralab-Silent/Sniffs/Test/SilentFallbackSniff.php @@ -1,23 +1,24 @@ -getTokens(); - if (substr( $tokens[$stackPtr]['content'], 0, 9 ) === '#neuralab') { - $warn = 'Neuralab silent linter is working; found %s'; - $data = array(trim($tokens[$stackPtr]['content'])); - $phpcsFile->addWarning($warn, $stackPtr, 'Found', $data); - } - } -} \ No newline at end of file +getTokens(); + if (substr( $tokens[$stackPtr]['content'], 0, 9 ) === '#neuralab') { + $warn = 'Neuralab silent linter is working; found %s'; + $data = array(trim($tokens[$stackPtr]['content'])); + $phpcsFile->addWarning($warn, $stackPtr, 'Found', $data); + } + } +}