•  
      request #13361 Require the nullability symbol to be present when the default value is null
    Infos
    #13361
    Thomas Gerbet (tgerbet)
    2019-05-09 17:03
    2019-05-03 16:39
    14479
    Details
    Require the nullability symbol to be present when the default value is null
    It is more explicit and this discussion [0] from two years ago from the doctrine/repo also points out it can hide a LSP violation.

    Now seems to be a good time to introduce this rule as we start to aggressively type scalar values.



    [0] https://github.com/doctrine/common/pull/805#discussion_r128762923
    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2019-05-09
    Attachments
    Empty
    References

    Follow-ups