•  
      request #13472 Prevent usage of late static binding for constants
    Infos
    #13472
    Thomas Gerbet (tgerbet)
    2019-06-13 17:13
    2019-06-07 12:12
    14584
    Details
    Prevent usage of late static binding for constants
    Usage of LSB with constants can be quite confusing because a constant can appear to change during the execution, it also have no advantage in comparison of using an abstract method.

    There is only one occurrence in the Tuleap codebase (and it has costed me 10mn of confusion a few days ago), we probably should get rid of it.
    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2019-06-13
    Attachments
    Empty
    References

    Follow-ups