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/general/feedLinksExtra.php

    r55942 r56559  
    492492        add_filter(
    493493            'default_feed',
    494             static function() {
     494            static function () {
    495495                return 'foo';
    496496            }
     
    499499        add_filter(
    500500            'feed_content_type',
    501             static function() {
     501            static function () {
    502502                return 'testing/foo';
    503503            }
Note: See TracChangeset for help on using the changeset viewer.