Skip to content

Commit 0326499

Browse files
committed
Put commas in back
I missed these previously. See #186
1 parent 1521b3f commit 0326499

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

WordPress/Sniff.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,10 @@ protected function get_array_access_key( $stackPtr ) {
462462

463463
// Find the next non-empty token.
464464
$open_bracket = $this->phpcsFile->findNext(
465-
PHP_CodeSniffer_Tokens::$emptyTokens
466-
, $stackPtr + 1
467-
, null
468-
, true
465+
PHP_CodeSniffer_Tokens::$emptyTokens,
466+
$stackPtr + 1,
467+
null,
468+
true
469469
);
470470

471471
// If it isn't a bracket, this isn't an array-access.
@@ -535,9 +535,9 @@ protected function is_validated( $stackPtr, $array_key = null, $in_condition_onl
535535
if ( ! isset( $condition['parenthesis_opener'] ) ) {
536536

537537
$this->phpcsFile->addError(
538-
'Possible parse error, condition missing open parenthesis.'
539-
, $conditionPtr
540-
, 'IsValidatedMissingConditionOpener'
538+
'Possible parse error, condition missing open parenthesis.',
539+
$conditionPtr,
540+
'IsValidatedMissingConditionOpener'
541541
);
542542

543543
return false;

0 commit comments

Comments
 (0)