php-ide-serenata 4.5.1 gives me this error:
Classlike is not defined or imported anywhere.
on this annotation
/**
* @prepare foo
*/
public function bar()
{
}
How can I avoid this?
php-ide-serenata 4.5.1 gives me this error:
Classlike is not defined or imported anywhere.
on this annotation
/**
* @prepare foo
*/
public function bar()
{
}
How can I avoid this?
The reason is that Serenata only recognizes standard phpDocumentor annotation tags, see https://github.com/Gert-dev/php-ide-serenata/issues/349#issuecomment-340275376
As a workaround, you can add an empty class, just below your regular class, like that:
class prepare {}
You only need to do this once per namespace.