In certain scenarios, like overriding model properties like timestamps it is flagged by PHPStan. This is likely because the timestamps property is set via a trait? Not sure. Either way, the easy solution would be to tag @api to the property override.
I imagined introducing skips for @internal which works best for properties like $timestamps or @required which could work for model method definitions, would be more fitting.
Thought about allowing the user also define which tags they want to use for ignoring but that seemed like an overkill.
In certain scenarios, like overriding model properties like
timestamps
it is flagged by PHPStan. This is likely because thetimestamps
property is set via a trait? Not sure. Either way, the easy solution would be to tag@api
to the property override.I imagined introducing skips for
@internal
which works best for properties like$timestamps
or@required
which could work for model method definitions, would be more fitting.Thought about allowing the user also define which tags they want to use for ignoring but that seemed like an overkill.