•  
      request #27901 Enforce proper indentation in multiline PHP arrays
    Infos
    #27901
    Thomas Gerbet (tgerbet)
    2022-07-28 09:55
    2022-07-27 17:00
    29465
    Details
    Enforce proper indentation in multiline PHP arrays

    Currently no rules make sure our multiline arrays are indented in a sane way.

    For example this code snippet:

    $ar = [
        'foo',
    'bar',
    ];
    

    should probably be indented this way:

    $ar = [
        'foo',
        'bar',
    ];
    
    Dev tools
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2022-07-28
    Attachments
    Empty
    References

    Follow-ups