NoClassMetadataOnAbstractTestClasses::$annotationTargets

PHPUnit metadata annotations.

Type: list

File

core/tests/PHPStan/Rules/NoClassMetadataOnAbstractTestClasses.php, line 31

Class

NoClassMetadataOnAbstractTestClasses
Ensures abstract test base classes do not carry metadata.

Namespace

Drupal\PHPStan\Rules

Code

private array $annotationTargets = [
  '@after',
  '@afterClass',
  '@author',
  '@backupGlobals',
  '@backupStaticAttributes',
  '@before',
  '@beforeClass',
  '@covers',
  '@coversDefaultClass',
  '@coversNothing',
  '@dataProvider',
  '@depends',
  '@doesNotPerformAssertions',
  '@group',
  '@large',
  '@medium',
  '@postCondition',
  '@preCondition',
  '@preserveGlobalState',
  '@requires',
  '@runInSeparateProcess',
  '@runTestsInSeparateProcesses',
  '@small',
  '@test',
  '@testdox',
  '@testWith',
  '@ticket',
  '@uses',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.