v1.2
I use deprecated class Doctrine\ORM\ORMException.
use Doctrine\ORM\ORMException; // detected deprecation by PHPStorm IDE
class MyClass
{
/**
* @throws ORMException
*/
function f() {}
}
/**
* Base exception class for all ORM exceptions.
*
* @deprecated Use Doctrine\ORM\Exception\ORMException for catch and instanceof
*/
class ORMException extends Exception
However phpstan/phpstan-deprecated-rules does not report this.

Double checked phpstan baseline if no one else has hidden this error.
It looks like this packages finds only method calls and not other statements (like use, catch for example).
v1.2
I use deprecated class
Doctrine\ORM\ORMException.However

phpstan/phpstan-deprecated-rulesdoes not report this.Double checked phpstan baseline if no one else has hidden this error.
It looks like this packages finds only method calls and not other statements (like
use,catchfor example).