|
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 | CSS_PROPERTY_UNIT_PX = 'px' |
| const | CSS_PROPERTY_UNIT_EM = 'em' |
| const | CSS_PROPERTY_UNIT_REM = 'rem' |
| $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS] | |
Class ZeroUnitsSniff
Ensure that units for 0 is not specified Omit leading "0"s in values, use dot instead
http://devdocs.magento.com/guides/v2.0/coding-standards/code-standard-less.html#floating-values
Definition at line 21 of file ZeroUnitsSniff.php.
| process | ( | File | $phpcsFile, |
| $stackPtr | |||
| ) |
| register | ( | ) |
| $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS] |
Definition at line 43 of file ZeroUnitsSniff.php.
| const CSS_PROPERTY_UNIT_EM = 'em' |
Definition at line 24 of file ZeroUnitsSniff.php.
| const CSS_PROPERTY_UNIT_PX = 'px' |
Definition at line 23 of file ZeroUnitsSniff.php.
| const CSS_PROPERTY_UNIT_REM = 'rem' |
Definition at line 25 of file ZeroUnitsSniff.php.