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/image/functions.php

    r55935 r56559  
    693693        add_filter(
    694694            'wp_image_editors',
    695             static function( $editors ) {
     695            static function ( $editors ) {
    696696                return array( 'WP_Image_Editor_Mock' );
    697697            }
     
    719719        add_filter(
    720720            'image_editor_output_format',
    721             static function() {
     721            static function () {
    722722                return array_fill_keys( array( 'image/jpg', 'image/jpeg', 'image/png' ), 'image/webp' );
    723723            }
Note: See TracChangeset for help on using the changeset viewer.