Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/18/2025 02:56:26 AM (6 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: stop ignoring WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine sniff.

This commit ensures that all arrays with multiple keys & values are not on single lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/replies/functions.php

    r7360 r7374  
    12471247    // Get the logs and append the new one to those
    12481248    $revision_log                      = bbp_get_reply_raw_revision_log( $r['reply_id'] );
    1249     $revision_log[ $r['revision_id'] ] = array( 'author' => $r['author_id'], 'reason' => $r['reason'] );
     1249    $revision_log[ $r['revision_id'] ] = array(
     1250        'author' => $r['author_id'],
     1251        'reason' => $r['reason']
     1252    );
    12501253
    12511254    // Finally, update
Note: See TracChangeset for help on using the changeset viewer.