[RSS Feed/News] Use @since to document when new methods are added

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
There's been a few times where I've used a XenForo method for something, only later to find out an older (but not super old) version of XenForo didn't have it. For example when I tried to use \XF\Entity\Thread::getContentUrl(), but realized it wasn't available in XF 2.1.

I'm not talking about going back to tagging old stuff (that would be an impossible task), but maybe going forward?

It would be nice if new methods had the @since phpDoc tag so IDEs can tell you how long that...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom