Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UnusedUsesSniff.php

function UnusedUsesSniff::getIgnoredAnnotationNames

*

Return value

list<string>

1 call to UnusedUsesSniff::getIgnoredAnnotationNames()
UnusedUsesSniff::process in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Namespaces/UnusedUsesSniff.php
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Namespaces/UnusedUsesSniff.php, line 251

Class

UnusedUsesSniff

Namespace

SlevomatCodingStandard\Sniffs\Namespaces

Code

private function getIgnoredAnnotationNames() : array {
    if ($this->normalizedIgnoredAnnotationNames === null) {
        $this->normalizedIgnoredAnnotationNames = array_merge(SniffSettingsHelper::normalizeArray($this->ignoredAnnotationNames), [
            '@param',
            '@throws',
            '@property',
            '@method',
        ]);
    }
    return $this->normalizedIgnoredAnnotationNames;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal