WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (3 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/WpHtmlSplit.php

    r34773 r42343  
    4242     */
    4343    function test_pcre_performance( $input ) {
    44         $regex = get_html_split_regex();
     44        $regex  = get_html_split_regex();
    4545        $result = benchmark_pcre_backtracking( $regex, $input, 'split' );
    4646        return $this->assertLessThan( 200, $result );
Note: See TracChangeset for help on using the changeset viewer.