function NamespaceHelper::normalizeToCanonicalName
7 calls to NamespaceHelper::normalizeToCanonicalName()
- AnnotationNameSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ AnnotationNameSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
- NamespaceHelper::getNameParts in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ NamespaceHelper.php - *
- NamespaceHelper::isTypeInNamespace in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ NamespaceHelper.php - NamespaceHelper::resolveName in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ NamespaceHelper.php - ReferenceUsedNamesOnlySniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Namespaces/ ReferenceUsedNamesOnlySniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
File
-
vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Helpers/ NamespaceHelper.php, line 144
Class
- NamespaceHelper
- Terms "unqualified", "qualified" and "fully qualified" have the same meaning as described here: http://php.net/manual/en/language.namespaces.rules.php
Namespace
SlevomatCodingStandard\HelpersCode
public static function normalizeToCanonicalName(string $fullyQualifiedName) : string {
return ltrim($fullyQualifiedName, self::NAMESPACE_SEPARATOR);
}