Make WordPress Core


Ignore:
Timestamp:
09/12/2023 03:21:02 PM (3 years 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-post-meta-fields.php

    r56075 r56559  
    27432743                                'type'              => 'boolean',
    27442744                                'show_in_rest'      => true,
    2745                                 'sanitize_callback' => static function( $value ) {
     2745                                'sanitize_callback' => static function ( $value ) {
    27462746                                        return $value ? '1' : '0';
    27472747                                },
Note: See TracChangeset for help on using the changeset viewer.