|
@@ 232-235 (lines=4) @@
|
| 229 |
|
|
| 230 |
|
$long = $phpcsFile->findNext($empty, $shortEnd + 1, $commentEnd - 1, true); |
| 231 |
|
if ($long !== false && $tokens[$long]['code'] === T_DOC_COMMENT_STRING) { |
| 232 |
|
if (preg_match('/^\p{Ll}/u', $tokens[$long]['content']) === 1) { |
| 233 |
|
$error = self::MESSAGE_LONG_NOT_CAPITAL; |
| 234 |
|
$phpcsFile->addError($error, $long, self::CODE_LONG_NOT_CAPITAL); |
| 235 |
|
} |
| 236 |
|
} |
| 237 |
|
|
| 238 |
|
$long = $phpcsFile->findNext($empty, $shortEnd + 1, $commentEnd - 1, true); |
|
@@ 260-263 (lines=4) @@
|
| 257 |
|
} |
| 258 |
|
} |
| 259 |
|
|
| 260 |
|
if (preg_match('/^\p{Ll}/u', $tokens[$long]['content']) === 1) { |
| 261 |
|
$error = self::MESSAGE_LONG_NOT_CAPITAL; |
| 262 |
|
$phpcsFile->addError($error, $long, self::CODE_LONG_NOT_CAPITAL); |
| 263 |
|
} |
| 264 |
|
} |
| 265 |
|
|
| 266 |
|
if (empty($tokens[$commentStart]['comment_tags'])) { |