Skip to content

Commit 83f7609

Browse files
Resolved test failure
1 parent 91418fb commit 83f7609

9 files changed

+5
-31
lines changed

Magento2/Helpers/Tokenizer/AbstractTokenizer.php

-4
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@
1111
abstract class AbstractTokenizer
1212
{
1313
/**
14-
* Current index in string
15-
*
1614
* @var int
1715
*/
1816
protected $_currentIndex;
1917

2018
/**
21-
* String for tokenize
22-
*
2319
* @var string
2420
*/
2521
protected $_string;

Magento2/Helpers/Tokenizer/Variable.php

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
class Variable extends AbstractTokenizer
1313
{
1414
/**
15-
* Internal counter used to keep track of how deep in array parsing we are
16-
*
1715
* @var int
1816
*/
1917
protected $arrayDepth = 0;

Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php

+3-9
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ public function __construct()
4646
}
4747

4848
/**
49-
* @param File $phpcsFile
50-
* @param int $stackPtr
51-
* @return int|void
49+
* @inheritDoc
5250
*/
5351
public function processMemberVar(File $phpcsFile, $stackPtr)
5452
{
@@ -143,19 +141,15 @@ public function processMemberVar(File $phpcsFile, $stackPtr)
143141
}
144142

145143
/**
146-
* @param File $phpcsFile
147-
* @param int $stackPtr
148-
* @return int|void
144+
* @inheritDoc
149145
* phpcs:disable Magento2.CodeAnalysis.EmptyBlock
150146
*/
151147
protected function processVariable(File $phpcsFile, $stackPtr)
152148
{
153149
}
154150

155151
/**
156-
* @param File $phpcsFile
157-
* @param int $stackPtr
158-
* @return int|void
152+
* @inheritDoc
159153
* phpcs:disable Magento2.CodeAnalysis.EmptyBlock
160154
*/
161155
protected function processVariableInString(File $phpcsFile, $stackPtr)

Magento2/Sniffs/Less/AvoidIdSniff.php

-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class AvoidIdSniff implements Sniff
2525
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
2626

2727
/**
28-
* Tokens that can appear in a selector
29-
*
3028
* @var array
3129
*/
3230
private $selectorTokens = [

Magento2/Sniffs/Less/IndentationSniff.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ class IndentationSniff implements Sniff
3939
*/
4040
public $maxIndentLevel = 3;
4141

42-
/** Skip codes that can be detected by sniffer incorrectly
43-
*
42+
/**
4443
* @var array
4544
*/
4645
private $styleCodesToSkip = [T_ASPERAND, T_COLON, T_OPEN_PARENTHESIS, T_CLOSE_PARENTHESIS];

Magento2/Sniffs/Less/PropertiesSortingSniff.php

-4
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,11 @@ class PropertiesSortingSniff implements Sniff
2525
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
2626

2727
/**
28-
* List of properties that belong to class
29-
*
3028
* @var array
3129
*/
3230
private $properties = [];
3331

3432
/**
35-
* Skip symbols that can be detected by sniffer incorrectly
36-
*
3733
* @var array
3834
*/
3935
private $styleSymbolsToSkip = [

Magento2/Sniffs/Less/SemicolonSpacingSniff.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class SemicolonSpacingSniff implements Sniff
2525
public $supportedTokenizers = [TokenizerSymbolsInterface::TOKENIZER_CSS];
2626

2727
/**
28-
* Skip symbols that can be detected by sniffer incorrectly
29-
*
3028
* @var array
3129
*/
3230
private $styleSymbolsToSkip = [
@@ -36,8 +34,7 @@ class SemicolonSpacingSniff implements Sniff
3634
TokenizerSymbolsInterface::CLOSE_PARENTHESIS,
3735
];
3836

39-
/** Skip codes that can be detected by sniffer incorrectly
40-
*
37+
/**
4138
* @var array
4239
*/
4340
private $styleCodesToSkip = [T_ASPERAND, T_COLON, T_OPEN_PARENTHESIS, T_CLOSE_PARENTHESIS];

Magento2/Sniffs/Less/TypeSelectorsSniff.php

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
class TypeSelectorsSniff implements Sniff
2424
{
2525
/**
26-
* Tags that are not allowed as type selector
27-
*
2826
* @var array
2927
*/
3028
private $tags = [

Magento2/Sniffs/Less/ZeroUnitsSniff.php

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class ZeroUnitsSniff implements Sniff
2424
const CSS_PROPERTY_UNIT_REM = 'rem';
2525

2626
/**
27-
* List of available CSS Property units
28-
*
2927
* @var array
3028
*/
3129
private $units = [

0 commit comments

Comments
 (0)