Make WordPress Core


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

    r56384 r56559  
    9999        add_filter(
    100100            'get_header_image',
    101             static function() use ( $header_image ) {
     101            static function () use ( $header_image ) {
    102102                return $header_image;
    103103            }
     
    191191        add_filter(
    192192            'wp_min_priority_img_pixels',
    193             static function() {
     193            static function () {
    194194                return 2500; // 50*50=2500
    195195            }
Note: See TracChangeset for help on using the changeset viewer.