Make WordPress Core


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

    r56124 r56559  
    5555        add_filter(
    5656            'wp_mail',
    57             function( $args ) use ( $urls ) {
     57            function ( $args ) use ( $urls ) {
    5858                foreach ( $urls as $url ) {
    5959                    $this->assertStringContainsString(
     
    323323        add_filter(
    324324            'wp_mail',
    325             function( $args ) use ( $urls ) {
     325            function ( $args ) use ( $urls ) {
    326326                foreach ( $urls as $url ) {
    327327                    $this->assertStringNotContainsString(
Note: See TracChangeset for help on using the changeset viewer.