From 5d46f52d22a8b617bd94da3a7e98b7fe4ba9334b Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 9 Jul 2022 18:19:21 -0700
Subject: [PATCH] Keep filenames as they were

---
 Gruntfile.js                                                  | 4 ++--
 inc/class-activation-deactivation-hooks.php                   | 2 +-
 inc/class-plugin.php                                          | 2 +-
 ...-session-storage.pot => wp-redis-user-session-storage.pot} | 4 ++--
 tests/bootstrap.php                                           | 4 ++--
 tests/inc/class-test-plugin.php                               | 2 +-
 ...r-session-storage.php => wp-redis-user-session-storage.php | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)
 rename languages/{redis-user-session-storage.pot => wp-redis-user-session-storage.pot} (94%)
 rename redis-user-session-storage.php => wp-redis-user-session-storage.php (98%)

diff --git a/Gruntfile.js b/Gruntfile.js
index 1d96d8e..284c0b3 100755
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -32,8 +32,8 @@ module.exports = function( grunt ) {
 				options: {
 					domainPath: '/languages',
 					exclude: [ '\.git/*', 'bin/*', 'node_modules/*', 'tests/*' ],
-					mainFile: 'redis-user-session-storage.php',
-					potFilename: 'redis-user-session-storage.pot',
+					mainFile: 'wp-redis-user-session-storage.php',
+					potFilename: 'wp-redis-user-session-storage.pot',
 					potHeaders: {
 						poedit: true,
 						'x-poedit-keywordslist': true
diff --git a/inc/class-activation-deactivation-hooks.php b/inc/class-activation-deactivation-hooks.php
index 33b60b1..7671209 100644
--- a/inc/class-activation-deactivation-hooks.php
+++ b/inc/class-activation-deactivation-hooks.php
@@ -2,7 +2,7 @@
 /**
  * Plugin activation hooks to migrate and clean up data.
  *
- * @package Redis_User_Session_Storage
+ * @package WP_Redis_User_Session_Storage
  */
 
 namespace Redis_User_Session_Storage;
diff --git a/inc/class-plugin.php b/inc/class-plugin.php
index 942b9c3..6623033 100644
--- a/inc/class-plugin.php
+++ b/inc/class-plugin.php
@@ -2,7 +2,7 @@
 /**
  * Offload session storage to Redis.
  *
- * @package Redis_User_Session_Storage
+ * @package WP_Redis_User_Session_Storage
  */
 
 namespace Redis_User_Session_Storage;
diff --git a/languages/redis-user-session-storage.pot b/languages/wp-redis-user-session-storage.pot
similarity index 94%
rename from languages/redis-user-session-storage.pot
rename to languages/wp-redis-user-session-storage.pot
index 75009fa..85c94f3 100644
--- a/languages/redis-user-session-storage.pot
+++ b/languages/wp-redis-user-session-storage.pot
@@ -5,7 +5,7 @@ msgstr ""
 "Project-Id-Version: Redis User Session Storage 0.2\n"
 "Report-Msgid-Bugs-To: "
 "https://wordpress.org/support/plugin/redis-user-session-storage\n"
-"POT-Creation-Date: 2022-07-09 20:23:47+00:00\n"
+"POT-Creation-Date: 2022-07-10 01:18:39+00:00\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -25,7 +25,7 @@ msgstr ""
 "X-Textdomain-Support: yes\n"
 "X-Generator: grunt-wp-i18n 1.0.3\n"
 
-#: redis-user-session-storage.php:90
+#: wp-redis-user-session-storage.php:93
 #. translators: 1: New plugin name, 2: Old plugin name
 msgid ""
 "%1$s: An outdated version of this plugin, %2$s, is active. Please "
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index b8985bb..38f3e9e 100755
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -2,7 +2,7 @@
 /**
  * PHPUnit bootstrap file
  *
- * @package WP_Revisions_Control
+ * @package WP_Redis_User_Session_Storage
  */
 
 $redis_user_session_storage = getenv( 'WP_TESTS_DIR' );
@@ -23,7 +23,7 @@ require_once $redis_user_session_storage . '/includes/functions.php';
  * Manually load the plugin being tested.
  */
 function redis_user_session_storage_tests_manually_load_plugin() {
-	require dirname( dirname( __FILE__ ) ) . '/redis-user-session-storage.php';
+	require dirname( dirname( __FILE__ ) ) . '/wp-redis-user-session-storage.php';
 }
 tests_add_filter( 'muplugins_loaded', 'redis_user_session_storage_tests_manually_load_plugin' );
 
diff --git a/tests/inc/class-test-plugin.php b/tests/inc/class-test-plugin.php
index c92a1cc..ad216a7 100755
--- a/tests/inc/class-test-plugin.php
+++ b/tests/inc/class-test-plugin.php
@@ -2,7 +2,7 @@
 /**
  * Test plugin features.
  *
- * @package Redis_User_Session_Storage
+ * @package WP_Redis_User_Session_Storage
  */
 
 namespace Redis_User_Session_Storage\Tests\Inc;
diff --git a/redis-user-session-storage.php b/wp-redis-user-session-storage.php
similarity index 98%
rename from redis-user-session-storage.php
rename to wp-redis-user-session-storage.php
index d2a9ba5..aadce9a 100644
--- a/redis-user-session-storage.php
+++ b/wp-redis-user-session-storage.php
@@ -21,7 +21,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
- * @package Redis_User_Session_Storage
+ * @package WP_Redis_User_Session_Storage
  */
 
 namespace Redis_User_Session_Storage;
-- 
GitLab