Skip to content

Commit b5eab5a

Browse files
committed
#317: Updated phpdocs duplicating property names
1 parent fe32712 commit b5eab5a

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private function processPropertyShortDescription(
146146
int $propertyNamePosition,
147147
int $varAnnotationPosition,
148148
int $commentStart
149-
) {
149+
): void {
150150
$propertyShortDescriptionPosition = $phpcsFile->findPrevious(
151151
T_DOC_COMMENT_STRING,
152152
$varAnnotationPosition,

Magento2/Sniffs/NamingConvention/InterfaceNameSniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class InterfaceNameSniff implements Sniff
2828
protected $warningCode = 'WrongInterfaceName';
2929

3030
/**
31-
* Interface suffix.
32-
*
3331
* @var string
3432
*/
3533
private $interfaceSuffix = 'Interface';

Magento2/Sniffs/Security/XssTemplateSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class XssTemplateSniff implements Sniff
6262
protected $allowedFunctions = ['count'];
6363

6464
/**
65-
* Allowed annotations.
65+
* Annotations preventing from static analysis (skipping this sniff)
6666
*
6767
* @var array
6868
*/

0 commit comments

Comments
 (0)