WordPress-Plugin-Boilerplate icon indicating copy to clipboard operation
WordPress-Plugin-Boilerplate copied to clipboard

Is @subpackage deprecated?

Open codiceovvio opened this issue 6 years ago • 3 comments

Hello and first of all thank you for this great boilerplate. I had read that the @subpackage DocBlock tag is deprecated, so I wonder if it is good or not to continue using it in the boilerplate.

codiceovvio avatar Aug 31 '18 10:08 codiceovvio

@codiceovvio - where did you see that the @subpackage is deprecated? I have forked this project into an actively maintained one, see https://github.com/TukuToi/better-wp-plugin-boilerplate, however I cannot see indications that the subpackage is deprecated.

Do you have a direct link to the section where it states to be deprecated?

smileBeda avatar Jul 05 '21 14:07 smileBeda

The linked standard is a proposal, not active yet. And it does not include notes about package or subpackage. Not sure if that means it's deprecated, there would be a note about that. PSR19 describes the tags and here too subpackage is missing. Here however the package tag is described as with a @package package\subpackage\subpackage notation.

davidsneighbour avatar Jul 05 '21 14:07 davidsneighbour

Thanks holding off with this then. Feel free to bug in the new repo if this ever becomes real, for now, it seems non-actual.

Thanks!

smileBeda avatar Jul 05 '21 14:07 smileBeda