Skip to content

Commit 457b03e

Browse files
committed
Addressing PHPCS violations
1 parent 7a4c300 commit 457b03e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

WordPressVIPMinimum/Sniffs/Constants/ConstantRestrictionsSniff.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ public function process( File $phpcsFile, $stackPtr ) {
6767
$constantName = trim( $tokens[ $stackPtr ]['content'], "\"'" );
6868
}
6969

70-
if ( false === in_array( $constantName, $this->restrictedConstantNames, true )
71-
&& false == in_array( $constantName, $this->restrictedConstantDeclaration, true )
72-
) {
70+
if ( false === in_array( $constantName, $this->restrictedConstantNames, true ) && false === in_array( $constantName, $this->restrictedConstantDeclaration, true ) ) {
7371
// Not the constant we are looking for.
7472
return;
7573
}

0 commit comments

Comments
 (0)