If there is a docblock above a problematic line, I would like the “ignore PHPStan error” fix to place the @phpstan-ignore directive inside the docblock, instead of creating a new comment.
Example:
class Siblings extends Relation
{
/** @var Person */
protected $parent; // error on this line
}
Current fix:
class Siblings extends Relation
{
/** @var Person */
// @phpstan-ignore-next-line
protected $parent; // error on this line
}
Expected fix:
class Siblings extends Relation
{
/**
* @var Person
* @phpstan-ignore-next-line
*/
protected $parent; // error on this line
}
If this is desired, I can tackle this after #88 is merged.
If there is a docblock above a problematic line, I would like the “ignore PHPStan error” fix to place the
@phpstan-ignore
directive inside the docblock, instead of creating a new comment.Example:
Current fix:
Expected fix:
If this is desired, I can tackle this after #88 is merged.