From e8df00ba6a4ef9a795331dd8de234ab070f835ac Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 11 Jun 2022 21:21:46 -0700
Subject: [PATCH] PHPCS

---
 tests/bootstrap.php               | 1 +
 tests/test-redirect-callbacks.php | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index bfbc6b5..d164087 100755
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -9,6 +9,7 @@
 $_tests_dir = getenv( 'WP_TESTS_DIR' );
 
 if ( ! $_tests_dir ) {
+	// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
 	$_tests_dir = rtrim( sys_get_temp_dir(), '/\\' ) . '/wordpress-tests-lib';
 }
 
diff --git a/tests/test-redirect-callbacks.php b/tests/test-redirect-callbacks.php
index 5c14b09..3264f83 100755
--- a/tests/test-redirect-callbacks.php
+++ b/tests/test-redirect-callbacks.php
@@ -57,7 +57,7 @@ class RedirectCallbacks extends WP_UnitTestCase {
 	}
 
 	/**
-	 * test post with custom redirect code.
+	 * Test post with custom redirect code.
 	 */
 	public function test_post_redirect_custom_status() {
 		$post_id = $this->get_new_post();
-- 
GitLab