function DocCommentSpacingSniff::getAnnotationsGroups
*
Return value
array<list<string>>
3 calls to DocCommentSpacingSniff::getAnnotationsGroups()
- DocCommentSpacingSniff::checkAnnotationsGroupsOrder in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ DocCommentSpacingSniff.php - *
- DocCommentSpacingSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ DocCommentSpacingSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- DocCommentSpacingSniff::sortAnnotationsToGroups in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ DocCommentSpacingSniff.php - *
File
-
vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ DocCommentSpacingSniff.php, line 769
Class
Namespace
SlevomatCodingStandard\Sniffs\CommentingCode
private function getAnnotationsGroups() : array {
if ($this->normalizedAnnotationsGroups === null) {
$this->normalizedAnnotationsGroups = [];
foreach ($this->annotationsGroups as $annotationsGroup) {
$this->normalizedAnnotationsGroups[] = SniffSettingsHelper::normalizeArray(explode(',', $annotationsGroup));
}
}
return $this->normalizedAnnotationsGroups;
}