Skip to content

Commit 95c56c9

Browse files
sverasivaschenko
andauthored
Update Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php
Co-authored-by: Sergii Ivashchenko <serg.ivashchenko@gmail.com>
1 parent ef00afd commit 95c56c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento2/Sniffs/Commenting/ClassPropertyPHPDocFormattingSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function processMemberVar(File $phpcsFile, $stackPtr)
132132
$phpcsFile->addWarning($error, $isShortDescriptionPreviousVar, 'AlreadyHaveMeaningfulNameVar');
133133
return;
134134
}
135-
$re = '/
135+
$regularExpression = '/
136136
# Split camelCase "words". Two global alternatives. Either g1of2:
137137
(?<=[a-z]) # Position is after a lowercase,
138138
(?=[A-Z]) # and before an uppercase letter.

0 commit comments

Comments
 (0)