public function testWrongCommentType() { $analyser = new StaticAnalyser(); $this->assertSwaggerLogEntryStartsWith('Annotations are only parsed inside `/**` DocBlocks'); $analyser->fromCode("<?php\n/*\n * @SWG\\Parameter() */", new Context([])); }