You are here

public function AnnotatedClassDiscoveryTest::provideBadAnnotations in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php \Drupal\Tests\Component\Plugin\Discovery\AnnotatedClassDiscoveryTest::provideBadAnnotations()

All the Drupal documentation standards tags.

File

core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php, line 25

Class

AnnotatedClassDiscoveryTest
@coversDefaultClass \Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery

Namespace

Drupal\Tests\Component\Plugin\Discovery

Code

public function provideBadAnnotations() {
  return [
    [
      'addtogroup',
    ],
    [
      'code',
    ],
    [
      'defgroup',
    ],
    [
      'deprecated',
    ],
    [
      'endcode',
    ],
    [
      'endlink',
    ],
    [
      'file',
    ],
    [
      'ingroup',
    ],
    [
      'group',
    ],
    [
      'link',
    ],
    [
      'mainpage',
    ],
    [
      'param',
    ],
    [
      'ref',
    ],
    [
      'return',
    ],
    [
      'section',
    ],
    [
      'see',
    ],
    [
      'subsection',
    ],
    [
      'throws',
    ],
    [
      'todo',
    ],
    [
      'var',
    ],
    [
      '{',
    ],
    [
      '}',
    ],
  ];
}