•  
      request #13436 PHP class names should be referenced by ::class when possible
    Infos
    #13436
    Thomas Gerbet (tgerbet)
    2019-06-07 12:03
    2019-05-29 08:52
    13825
    Details
    PHP class names should be referenced by ::class when possible
    __CLASS__, get_parent_class(), get_called_class(), get_class() and get_class($this) can be referenced by a ::class constant. The code base should use that. It brings consistency: the usage is the same than for other PHP class constants and the way to get a class name can be the same everywhere (__CLASS__ vs self::class and OtherClassName::class). It is also a bit faster for the PHP engine.
    Empty
    Dev tools
    All
    Empty
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2019-06-07
    Attachments
    Empty
    References

    List of items referenced by or referencing this item.

    Artifact Tracker v5

    Follow-ups