1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest A suggestion for the code comments...

Discussion in 'Closed Suggestions' started by Liam W, Mar 29, 2014.

  1. Liam W

    Liam W Well-Known Member

    This isn't really a XenForo suggestion in itself...

    I've found myself using newer classes/constants/methods etc. in my addons, as I don't realise they're new.

    So, I suggest that a since part is added to the phpdoc of the classes/methods/constants telling us the version of XenForo that it was added.

    I know it would be a pain going back and adding it in, so maybe just for new ones now? I realise this is unlikely to be added in to the source, but I thought to suggest it anyway :)

  2. Rigel Kentaurus

    Rigel Kentaurus Well-Known Member

    I am impressed that you actively support older versions of XenForo. Kudos to you.

    Upgrades are so painless that I am these days really asking people to just be on the latest version. There is no good reason not to be :) They get all the good stuff (can disable it if they don't want it - i.e. proxy system), and simplifies the add-on development.

    Another story would be if I could code for PHP 5.5+, but that is battle for some other day.
    Liam W likes this.
  3. Sim

    Sim Well-Known Member

    When XenForo v2.x comes out, this will be much more of a challenge.

Share This Page