@@ 224-227 (lines=4) @@ | ||
221 | ||
222 | $long = $phpcsFile->findNext($empty, $shortEnd + 1, $commentEnd - 1, true); |
|
223 | if ($long !== false && $tokens[$long]['code'] === T_DOC_COMMENT_STRING) { |
|
224 | if (preg_match('/^\p{Ll}/u', $tokens[$long]['content']) === 1) { |
|
225 | $error = self::MESSAGE_LONG_NOT_CAPITAL; |
|
226 | $phpcsFile->addError($error, $long, self::CODE_LONG_NOT_CAPITAL); |
|
227 | } |
|
228 | } |
|
229 | ||
230 | $long = $phpcsFile->findNext($empty, $shortEnd + 1, $commentEnd - 1, true); |
|
@@ 251-254 (lines=4) @@ | ||
248 | } |
|
249 | } |
|
250 | ||
251 | if (preg_match('/^\p{Ll}/u', $tokens[$long]['content']) === 1) { |
|
252 | $error = self::MESSAGE_LONG_NOT_CAPITAL; |
|
253 | $phpcsFile->addError($error, $long, self::CODE_LONG_NOT_CAPITAL); |
|
254 | } |
|
255 | } |
|
256 | ||
257 | if (empty($tokens[$commentStart]['comment_tags']) === true) { |