Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #27901 Enforce proper indentation in multiline PHP arrays
    Infos
    #27901
    Thomas Gerbet (tgerbet)
    2022-07-28 09:55
    2022-07-27 17:00
    29476
    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
    Referenced by request #27901

    Follow-ups