Make WordPress Core


Ignore:
Timestamp:
09/12/2023 03:21:02 PM (16 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/performance/wp-content/mu-plugins/server-timing.php

    r56162 r56559  
    33add_filter(
    44    'template_include',
    5     static function( $template ) {
     5    static function ( $template ) {
    66
    77        global $timestart;
     
    1616        add_action(
    1717            'shutdown',
    18             static function() use ( $server_timing_values, $template_start ) {
     18            static function () use ( $server_timing_values, $template_start ) {
    1919
    2020                global $timestart;
Note: See TracChangeset for help on using the changeset viewer.