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/hooks/removeAllFilters.php

    r42200 r42343  
    99
    1010    public function test_remove_all_filters() {
    11         $callback = '__return_null';
    12         $hook = new WP_Hook();
    13         $tag = __FUNCTION__;
    14         $priority = rand( 1, 100 );
     11        $callback      = '__return_null';
     12        $hook          = new WP_Hook();
     13        $tag           = __FUNCTION__;
     14        $priority      = rand( 1, 100 );
    1515        $accepted_args = rand( 1, 100 );
    1616
     
    2323
    2424    public function test_remove_all_filters_with_priority() {
    25         $callback_one = '__return_null';
    26         $callback_two = '__return_false';
    27         $hook = new WP_Hook();
    28         $tag = __FUNCTION__;
    29         $priority = rand( 1, 100 );
     25        $callback_one  = '__return_null';
     26        $callback_two  = '__return_false';
     27        $hook          = new WP_Hook();
     28        $tag           = __FUNCTION__;
     29        $priority      = rand( 1, 100 );
    3030        $accepted_args = rand( 1, 100 );
    3131
Note: See TracChangeset for help on using the changeset viewer.