Skip to content

Commit dfc72e4

Browse files
committed
CS: fix up closure spacing to comply with new rules
1 parent 72be374 commit dfc72e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/Sniffs/Security/ValidatedSanitizedInputSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function process_token( $stackPtr ) {
7171
) {
7272
// Retrieve all embeds, but use only the initial variable name part.
7373
$interpolated_variables = array_map(
74-
function( $embed ) {
74+
function ( $embed ) {
7575
return '$' . preg_replace( '`^(\{?\$\{?\(?)([a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*)(.*)$`', '$2', $embed );
7676
},
7777
TextStrings::getEmbeds( $this->tokens[ $stackPtr ]['content'] )

0 commit comments

Comments
 (0)