Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/formatting/isoDescrambler.php

    r25002 r42343  
    99     * =?iso-8859-1?q?this=20is=20some=20text?=
    1010    */
    11     function test_decodes_iso_8859_1_rfc2047_q_encoding() {
    12         $this->assertEquals("this is some text", wp_iso_descrambler("=?iso-8859-1?q?this=20is=20some=20text?="));
    13     }
     11    function test_decodes_iso_8859_1_rfc2047_q_encoding() {
     12        $this->assertEquals( 'this is some text', wp_iso_descrambler( '=?iso-8859-1?q?this=20is=20some=20text?=' ) );
     13    }
    1414}
Note: See TracChangeset for help on using the changeset viewer.