Make WordPress Core


Ignore:
Timestamp:
09/12/2023 03:21:02 PM (15 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Include one space after function keyword for closures.

Note: This is enforced by WPCS 3.0.0.

Reference: WPCS: PR #2328 Core: properly check formatting of function declaration statements.

Props jrf.
See #59161, #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/user/queryCache.php

    r56381 r56559  
    422422        $q1       = new WP_User_Query( $args );
    423423        $found1   = $q1->get_results();
    424         $callback = static function( $user ) {
     424        $callback = static function ( $user ) {
    425425            return (array) $user;
    426426        };
Note: See TracChangeset for help on using the changeset viewer.