trait FriendsTrait

Hierarchy

File

core/tests/PHPStan/fixtures/test-methods-with-metadata.php, line 60

Namespace

Drupal\Tests\Core\Foo
View source
trait FriendsTrait {
  public function testInTraitWithAttribute() : void {
  }
  
  /**
   * @group Chandler
   */
  public function testInTraitWithAttributeAndForbiddenAnnotation() : void {
  }
  
  /**
   * @legacy-covers ::phoebe
   */
  public function testInTraitWithAttributeAndAllowedAnnotation() : void {
  }
  
  /**
   * @group Janice
   */
  public function testInTraitWithForbiddenAnnotation() : void {
  }
  
  /**
   * @see Monica
   */
  public function testInTraitWithAllowedAnnotation() : void {
  }
  
  /**
   * This test method has a legacy covers annotation.
   *
   * @legacy-covers ::ben
   */
  public function testInTraitWithLegacyCoversAnnotation() : void {
  }
  public function testInTraitNoMetadata() : void {
  }

}

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