Skip to content

Commit 8028bd4

Browse files
committed
Add back period due to sniff requiring inline comment to have full stops
1 parent dd84717 commit 8028bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressVIPMinimum/Sniffs/Performance/WPQueryParamsSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function process_token( $stackPtr ) {
7373
$next_token = $this->phpcsFile->findNext( array_merge( Tokens::$emptyTokens, [ T_EQUAL, T_CLOSE_SQUARE_BRACKET, T_DOUBLE_ARROW ] ), $stackPtr + 1, null, true );
7474

7575
if ( $this->tokens[ $next_token ]['code'] === T_TRUE ) {
76-
// https://docs.wpvip.com/technical-references/caching/uncached-functions/
76+
// https://docs.wpvip.com/technical-references/caching/uncached-functions/.
7777
$message = 'Setting `suppress_filters` to `true` is prohibited.';
7878
$this->phpcsFile->addError( $message, $stackPtr, 'SuppressFiltersTrue' );
7979
}

0 commit comments

Comments
 (0)