I would like to mark whole directories/namespaces as deprecated.
Because of our saas-applications we have multiple versions which need to stay online, until nobody needs it anymore.
Our namespace/directories are like:
Inside an 'older' directory all files have to be marked as deprecated. So we put a `@deprecated` tag (with timestamp and info) in the doc-block of the classes, traits, etc.
I have a regexp (from our netbeans time) for replace in directories to do this a bit automated.
$1 \@deprecated since 20210722 version v3$1$2
But I hope there is a nicer and quicker way.
nb. We are not on php8 yet :-(, so attributes is no option yet.
Thanks in advance!