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/phpunit/tests/rest-api/rest-pattern-directory-controller.php

    r56548 r56559  
    311311        add_filter(
    312312            'rest_prepare_block_pattern',
    313             static function( $response ) {
     313            static function ( $response ) {
    314314                return 'initial value';
    315315            }
     
    325325        add_filter(
    326326            'rest_prepare_block_pattern',
    327             static function( $response ) {
     327            static function ( $response ) {
    328328                return 'modified the cache';
    329329            },
Note: See TracChangeset for help on using the changeset viewer.