Make WordPress Core


Ignore:
Timestamp:
09/12/2023 03:21:02 PM (21 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/media/wpImageTagAddDecodingAttr.php

    r54863 r56559  
    2626            add_filter(
    2727                'wp_img_tag_add_decoding_attr',
    28                 static function( $value ) use ( $decoding ) {
     28                static function ( $value ) use ( $decoding ) {
    2929                    return $decoding;
    3030                }
     
    8787            add_filter(
    8888                'wp_img_tag_add_decoding_attr',
    89                 static function( $value ) use ( $decoding ) {
     89                static function ( $value ) use ( $decoding ) {
    9090                    return $decoding;
    9191                }
Note: See TracChangeset for help on using the changeset viewer.