public function DocParserTest::testAnnotationWithoutClassIsIgnoredWithoutWarning

@group DDC-77

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/DocParserTest.php, line 881

Class

DocParserTest

Namespace

Doctrine\Tests\Common\Annotations

Code

public function testAnnotationWithoutClassIsIgnoredWithoutWarning() {
  $parser = new DocParser();
  $parser
    ->setIgnoreNotImportedAnnotations(true);
  $result = $parser
    ->parse("@param");
  $this
    ->assertEquals(0, count($result));
}