From d35af9cb583c952a451d36112c97f024fbf14620 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Thu, 15 May 2025 19:45:48 -0700
Subject: [PATCH 1/3] Fix PHPCS error

---
 view-all-posts-pages.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/view-all-posts-pages.php b/view-all-posts-pages.php
index 970274c..13f7318 100755
--- a/view-all-posts-pages.php
+++ b/view-all-posts-pages.php
@@ -1,4 +1,4 @@
-<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
+<?php // phpcs:ignore Universal.Files.SeparateFunctionsFromOO.Mixed,WordPress.Files.FileName.InvalidClassFileName
 /**
  * View All Posts Pages
  *
-- 
GitLab


From fc32a3c0ee238460d7344ff6d90e20eb8215362a Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Thu, 15 May 2025 19:54:28 -0700
Subject: [PATCH 2/3] Fix PHPCS error

---
 view-all-posts-pages.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/view-all-posts-pages.php b/view-all-posts-pages.php
index 13f7318..d000a52 100755
--- a/view-all-posts-pages.php
+++ b/view-all-posts-pages.php
@@ -1,4 +1,4 @@
-<?php // phpcs:ignore Universal.Files.SeparateFunctionsFromOO.Mixed,WordPress.Files.FileName.InvalidClassFileName
+<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
 /**
  * View All Posts Pages
  *
@@ -13,6 +13,8 @@
  *
  * @package         View_All_Posts_Pages
  *
+ * phpcs:disable Universal.Files.SeparateFunctionsFromOO.Mixed
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
-- 
GitLab


From 928e0b8262ba39ae16dd38b9b2662639bc83321b Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Thu, 15 May 2025 19:59:18 -0700
Subject: [PATCH 3/3] Sure, Jan

---
 view-all-posts-pages.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/view-all-posts-pages.php b/view-all-posts-pages.php
index d000a52..779a9fc 100755
--- a/view-all-posts-pages.php
+++ b/view-all-posts-pages.php
@@ -339,8 +339,9 @@ class view_all_posts_pages { // phpcs:ignore PEAR.NamingConventions.ValidClassNa
 
 			// Set global $more to false so that wp_link_pages outputs links for all pages when viewing full post page.
 			if ( $this->is_view_all() ) {
-				// phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
+				// phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
 				$GLOBALS['more'] = false;
+				// phpcs:enable WordPress.WP.GlobalVariablesOverride.Prohibited
 			}
 
 			// Process link text, respecting pagelink parameter.
-- 
GitLab