Skip to content

Deprecation of methods on vendor is not being shown #40

Closed
@lucassabreu

Description

@lucassabreu

The merge method on Doctrine\ORM\EntityManager is marked as deprecated directly on the code (link).

But no error/waring is being prompted by the extension.

If I create the stub below with the annotation than it works as expected.

<?php

namespace Doctrine\ORM;

class EntityManager
{
    /** @deprecated */
    public function merge(object $entity): void;
}

This extension will only read deprecations that I add on my code or in stubs? Or is this a bug on the extension?

It is not that clear on the README which is the right behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions