From c3c6e6afcb802c79bde17cc90e819061ac04cf76 Mon Sep 17 00:00:00 2001 From: Kailey Lampert Date: Fri, 20 Apr 2018 13:46:04 -0700 Subject: [PATCH] s/cautioun/caution _really_ fix that typo. Also, slight wording adjustment to prevent awkward redundancy. --- WordPressVIPMinimum/Sniffs/VIP/WPQueryParamsSniff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPressVIPMinimum/Sniffs/VIP/WPQueryParamsSniff.php b/WordPressVIPMinimum/Sniffs/VIP/WPQueryParamsSniff.php index 3fb34c62..4be9eadb 100644 --- a/WordPressVIPMinimum/Sniffs/VIP/WPQueryParamsSniff.php +++ b/WordPressVIPMinimum/Sniffs/VIP/WPQueryParamsSniff.php @@ -51,7 +51,7 @@ public function process( File $phpcsFile, $stackPtr ) { } if ( 'post__not_in' === trim( $tokens[ $stackPtr ]['content'], '\'' ) ) { - $phpcsFile->addWarning( 'Using `post__not_in` should be used with cautioun.', $stackPtr, 'post__not_in' ); + $phpcsFile->addWarning( 'Using `post__not_in` should be done with caution.', $stackPtr, 'post__not_in' ); } }