Make WordPress Core


Ignore:
Timestamp:
09/12/2023 03:21:02 PM (10 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/rest-api/rest-block-renderer-controller.php

    r55457 r56559  
    430430        wp_set_current_user( self::$user_id );
    431431
    432         $pre_render_filter = static function( $output, $block ) {
     432        $pre_render_filter = static function ( $output, $block ) {
    433433            if ( $block['blockName'] === self::$block_name ) {
    434434                return '<p>Alternate content.</p>';
Note: See TracChangeset for help on using the changeset viewer.