Make WordPress Core


Ignore:
Timestamp:
07/02/2019 04:43:01 AM (6 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/phpunit7/speed-trap-listener.php

    r44701 r45588  
    267267     */
    268268    protected function renderFooter() {
    269         if ( $hidden = $this->getHiddenCount( $this->slow ) ) {
     269        $hidden = $this->getHiddenCount( $this->slow );
     270        if ( $hidden ) {
    270271            echo sprintf( '...and there %s %s more above your threshold hidden from view', $hidden == 1 ? 'is' : 'are', $hidden );
    271272        }
Note: See TracChangeset for help on using the changeset viewer.