Make WordPress Core

Changeset 56692


Ignore:
Timestamp:
09/26/2023 12:07:56 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix a few newly introduced WPCS issues.

Follow-up to [56683], [56689].

See #59161, #58831.

Location:
trunk/tests/phpunit/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/blocks/getBlockAssetUrl.php

    r56683 r56692  
    6464
    6565                $this->assertSame( get_template_directory_uri() . '/blocks/example-block/view.js', $url );
    66 
    6766        }
    6867
    … …  
    7776
    7877                $this->assertSame( get_stylesheet_directory_uri() . '/blocks/example-block/view.js', $url );
    79 
    8078        }
    8179
    … …  
    9088                $this->assertSame( plugins_url( 'view.js', $path ), $url, 'The return block asset url should match plugin url.' );
    9189                $this->assertStringStartsWith( WP_PLUGIN_URL, $url, 'The return block asset url should contain the url that support with the mu plugin url.' );
    92 
    9390        }
    9491
    … …  
    113110                $this->assertFalse( $url );
    114111        }
    115 
    116112}
  • trunk/tests/phpunit/tests/filesystem/_unzipFilePclzip.php

    r56689 r56692  
    7373                $this->assertSame( 1, $filter->get_call_count() );
    7474        }
    75 
    7675}
  • trunk/tests/phpunit/tests/filesystem/_unzipFileZiparchive.php

    r56689 r56692  
    8181                $this->assertSame( 1, $filter->get_call_count() );
    8282        }
    83 
    8483}
Note: See TracChangeset for help on using the changeset viewer.