Make WordPress Core


Ignore:
Timestamp:
11/29/2022 09:11:42 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix spacing for incrementors and decrementors in various files.

Note: This will be enforced by WPCS 3.0.0.

Props jrf.
See #56791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/meta/isProtectedMeta.php

    r49387 r54896  
    1818                        array( '_wp_attachment' ),
    1919                );
    20                 for ( $i = 0, $max = 31; $i < $max; $i ++ ) {
     20                for ( $i = 0, $max = 31; $i < $max; $i++ ) {
    2121                        $protected_keys[] = array( chr( $i ) . '_wp_attachment' );
    2222                }
    23                 for ( $i = 127, $max = 159; $i <= $max; $i ++ ) {
     23                for ( $i = 127, $max = 159; $i <= $max; $i++ ) {
    2424                        $protected_keys[] = array( chr( $i ) . '_wp_attachment' );
    2525                }
     
    4343                );
    4444
    45                 for ( $i = 32, $max = 94; $i <= $max; $i ++ ) {
     45                for ( $i = 32, $max = 94; $i <= $max; $i++ ) {
    4646                        $unprotected_keys[] = array( chr( $i ) . '_wp_attachment' );
    4747                }
    48                 for ( $i = 96, $max = 126; $i <= $max; $i ++ ) {
     48                for ( $i = 96, $max = 126; $i <= $max; $i++ ) {
    4949                        $unprotected_keys[] = array( chr( $i ) . '_wp_attachment' );
    5050                }
Note: See TracChangeset for help on using the changeset viewer.