WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/02/2019 04:43:01 AM (13 months 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/tests/formatting/Autop.php

    r45585 r45588  
    416416        );
    417417
    418         $content = $expected = array();
     418        $content  = array();
     419        $expected = array();
    419420
    420421        foreach ( $inlines as $inline ) {
     
    544545     */
    545546    function test_that_wpautop_doses_not_add_extra_closing_p_in_figure() {
    546         $content1 = $expected1 = '<figure><img src="example.jpg" /><figcaption>Caption</figcaption></figure>';
     547        $content1  = '<figure><img src="example.jpg" /><figcaption>Caption</figcaption></figure>';
     548        $expected1 = $content1;
    547549
    548550        $content2 = '<figure>
Note: See TracChangeset for help on using the changeset viewer.