Open antonrinas opened 3 months ago
I think this is a problem with how you use @deprecated
? The tag applies to the associated structural element - in this case the schema.
https://docs.phpdoc.org/guide/references/phpdoc/tags/deprecated.html
The @deprecated tag declares that the associated Structural Element(s) will be removed in a future version...
https://phpstan.org/writing-php-code/phpdocs-basics#deprecations
Use @deprecated tag to mark declarations as deprecated:...
I noted that from some moment, all properties for certain schemas were marked as Deprecated.
I found the reason. Before the Schema description, I also have some class annotations. Within these annotations, one of the class properties is marked as @deprecated. In this case, all properties in the Schema after doc generation are marked as deprecated.
For now, as a temporary decision, I marked all properties as deprecated: false.