Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
register () | |
process (File $phpcsFile, $stackPtr) | |
Data Fields | |
const | COMMENT_STRING = '//' |
const | FIRST_LEVEL_COMMENT = '_____________________________________________' |
const | SECOND_LEVEL_COMMENT = '--' |
$supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS] | |
Protected Attributes | |
$levelComments | |
Class CommentLevelsSniff
First and second level comments must be surrounded by empty lines. First, second and third level comments should have two spaces after "//". Inline comments should have one space after "//".
http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#comments
Definition at line 21 of file CommentLevelsSniff.php.
process | ( | File | $phpcsFile, |
$stackPtr | |||
) |
{}
Definition at line 55 of file CommentLevelsSniff.php.
register | ( | ) |
|
protected |
Definition at line 32 of file CommentLevelsSniff.php.
$supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS] |
Definition at line 42 of file CommentLevelsSniff.php.
const COMMENT_STRING = '//' |
Definition at line 23 of file CommentLevelsSniff.php.
const FIRST_LEVEL_COMMENT = '_____________________________________________' |
Definition at line 25 of file CommentLevelsSniff.php.
const SECOND_LEVEL_COMMENT = '--' |
Definition at line 27 of file CommentLevelsSniff.php.