You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm deprecating a lot of classes, which extend each other, using templated classes. (Symfony Entities and Repositories).
When the deprecated class is used in a @extends annotation, psalm does not respect the @psalm-suppress DeprecatedClass annotation.
As far as I could tell, all other forms of suppression seem to work.
It would also be nice, if a deprecated class did not automatically trigger a deprecation warning.
This could be selectable by a flag in the config.
It would eliminate the need for suppression annotations, when a chunk of the codebase is deprecated together.
The text was updated successfully, but these errors were encountered:
https://psalm.dev/r/3876267f03
I'm deprecating a lot of classes, which extend each other, using templated classes. (Symfony Entities and Repositories).
When the deprecated class is used in a
@extends
annotation, psalm does not respect the@psalm-suppress DeprecatedClass
annotation.As far as I could tell, all other forms of suppression seem to work.
It would also be nice, if a deprecated class did not automatically trigger a deprecation warning.
This could be selectable by a flag in the config.
It would eliminate the need for suppression annotations, when a chunk of the codebase is deprecated together.
The text was updated successfully, but these errors were encountered: