Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (5 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-http-encoding.php

    r42746 r45590  
    5353        }
    5454
    55         if ( false !== ( $decompressed = @gzinflate( $compressed ) ) ) {
    56             return $decompressed;
    57         }
    58 
    59         if ( false !== ( $decompressed = self::compatible_gzinflate( $compressed ) ) ) {
    60             return $decompressed;
    61         }
    62 
    63         if ( false !== ( $decompressed = @gzuncompress( $compressed ) ) ) {
     55        $decompressed = @gzinflate( $compressed );
     56        if ( false !== $decompressed ) {
     57            return $decompressed;
     58        }
     59
     60        $decompressed = self::compatible_gzinflate( $compressed );
     61        if ( false !== $decompressed ) {
     62            return $decompressed;
     63        }
     64
     65        $decompressed = @gzuncompress( $compressed );
     66        if ( false !== $decompressed ) {
    6467            return $decompressed;
    6568        }
Note: See TracChangeset for help on using the changeset viewer.