]> BookStack Code Mirror - bookstack/commitdiff
Updated command classes to include "Command" in name 4262/head
authorDan Brown <redacted>
Wed, 24 May 2023 12:21:46 +0000 (13:21 +0100)
committerDan Brown <redacted>
Wed, 24 May 2023 12:21:46 +0000 (13:21 +0100)
14 files changed:
app/Console/Commands/CleanupImagesCommand.php [moved from app/Console/Commands/CleanupImages.php with 98% similarity]
app/Console/Commands/ClearActivityCommand.php [moved from app/Console/Commands/ClearActivity.php with 93% similarity]
app/Console/Commands/ClearRevisionsCommand.php [moved from app/Console/Commands/ClearRevisions.php with 95% similarity]
app/Console/Commands/ClearViewsCommand.php [moved from app/Console/Commands/ClearViews.php with 93% similarity]
app/Console/Commands/CopyShelfPermissionsCommand.php [moved from app/Console/Commands/CopyShelfPermissions.php with 97% similarity]
app/Console/Commands/CreateAdminCommand.php [moved from app/Console/Commands/CreateAdmin.php with 98% similarity]
app/Console/Commands/DeleteUsersCommand.php [moved from app/Console/Commands/DeleteUsers.php with 96% similarity]
app/Console/Commands/RegenerateCommentContentCommand.php [moved from app/Console/Commands/RegenerateCommentContent.php with 95% similarity]
app/Console/Commands/RegeneratePermissionsCommand.php [moved from app/Console/Commands/RegeneratePermissions.php with 95% similarity]
app/Console/Commands/RegenerateReferencesCommand.php [moved from app/Console/Commands/RegenerateReferences.php with 95% similarity]
app/Console/Commands/RegenerateSearchCommand.php [moved from app/Console/Commands/RegenerateSearch.php with 96% similarity]
app/Console/Commands/ResetMfaCommand.php [moved from app/Console/Commands/ResetMfa.php with 97% similarity]
app/Console/Commands/UpdateUrlCommand.php [moved from app/Console/Commands/UpdateUrl.php with 99% similarity]
app/Console/Commands/UpgradeDatabaseEncodingCommand.php [moved from app/Console/Commands/UpgradeDatabaseEncoding.php with 96% similarity]

similarity index 98%
rename from app/Console/Commands/CleanupImages.php
rename to app/Console/Commands/CleanupImagesCommand.php
index c37cadef02fd76477a44a0bc85c4bc269b399312..fe924b0f46b79af8c694c37bf98087ae8a0e272b 100644 (file)
@@ -6,7 +6,7 @@ use BookStack\Uploads\ImageService;
 use Illuminate\Console\Command;
 use Symfony\Component\Console\Output\OutputInterface;
 
-class CleanupImages extends Command
+class CleanupImagesCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 93%
rename from app/Console/Commands/ClearActivity.php
rename to app/Console/Commands/ClearActivityCommand.php
index b88408e0c8071acba47f4268fe1d17a11162866d..54085c12be3c762c06a5e189996872bece641220 100644 (file)
@@ -5,7 +5,7 @@ namespace BookStack\Console\Commands;
 use BookStack\Activity\Models\Activity;
 use Illuminate\Console\Command;
 
-class ClearActivity extends Command
+class ClearActivityCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 95%
rename from app/Console/Commands/ClearRevisions.php
rename to app/Console/Commands/ClearRevisionsCommand.php
index e90503c567e057c974eeb1eb1e2efdc8228b81b9..ad001fdb1e8954f3268c347f417e05bfa8f94aef 100644 (file)
@@ -5,7 +5,7 @@ namespace BookStack\Console\Commands;
 use BookStack\Entities\Models\PageRevision;
 use Illuminate\Console\Command;
 
-class ClearRevisions extends Command
+class ClearRevisionsCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 93%
rename from app/Console/Commands/ClearViews.php
rename to app/Console/Commands/ClearViewsCommand.php
index 6cfbd5d5f798ca13bef4d2999bd1cbd12bb69f5f..87ea503dc479f56f652a863f385b2b03c4ae07b0 100644 (file)
@@ -5,7 +5,7 @@ namespace BookStack\Console\Commands;
 use BookStack\Activity\Models\View;
 use Illuminate\Console\Command;
 
-class ClearViews extends Command
+class ClearViewsCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 97%
rename from app/Console/Commands/CopyShelfPermissions.php
rename to app/Console/Commands/CopyShelfPermissionsCommand.php
index 95673cacd0f130ee23be7b49ab6129c9bd8271e2..fc11484bd4dfa3da89650e49a159664a05c372d8 100644 (file)
@@ -6,7 +6,7 @@ use BookStack\Entities\Models\Bookshelf;
 use BookStack\Entities\Tools\PermissionsUpdater;
 use Illuminate\Console\Command;
 
-class CopyShelfPermissions extends Command
+class CopyShelfPermissionsCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 98%
rename from app/Console/Commands/CreateAdmin.php
rename to app/Console/Commands/CreateAdminCommand.php
index 617e6ab2f08b92ad408df8b38acf98ce0d5264c7..82b6e50aa522a372f208b070086e540f50d0d7d9 100644 (file)
@@ -10,7 +10,7 @@ use Illuminate\Support\Str;
 use Illuminate\Validation\Rules\Password;
 use Illuminate\Validation\Rules\Unique;
 
-class CreateAdmin extends Command
+class CreateAdminCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 96%
rename from app/Console/Commands/DeleteUsers.php
rename to app/Console/Commands/DeleteUsersCommand.php
index f3e7c68525e28fa5db2221ddf9eeacc31c4f3ccf..d5c85dc8c5a6333743a0272dea6beffcc9490cdb 100644 (file)
@@ -6,7 +6,7 @@ use BookStack\Users\Models\User;
 use BookStack\Users\UserRepo;
 use Illuminate\Console\Command;
 
-class DeleteUsers extends Command
+class DeleteUsersCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 95%
rename from app/Console/Commands/RegenerateCommentContent.php
rename to app/Console/Commands/RegenerateCommentContentCommand.php
index 37e25433573b289eb89547dec851986211e59190..f7ec426209f5eb29cf6aadf2eff69c9920cbcd2b 100644 (file)
@@ -7,7 +7,7 @@ use BookStack\Activity\Models\Comment;
 use Illuminate\Console\Command;
 use Illuminate\Support\Facades\DB;
 
-class RegenerateCommentContent extends Command
+class RegenerateCommentContentCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 95%
rename from app/Console/Commands/RegeneratePermissions.php
rename to app/Console/Commands/RegeneratePermissionsCommand.php
index 2c994781fa9893790360d36e7ac975cbed45a827..856e943c52920d2d7759e6e223ef815c7c84c07e 100644 (file)
@@ -6,7 +6,7 @@ use BookStack\Permissions\JointPermissionBuilder;
 use Illuminate\Console\Command;
 use Illuminate\Support\Facades\DB;
 
-class RegeneratePermissions extends Command
+class RegeneratePermissionsCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 95%
rename from app/Console/Commands/RegenerateReferences.php
rename to app/Console/Commands/RegenerateReferencesCommand.php
index f85e0cd4082b7f438a2591e413f692835360d19b..ea8ff8e00e4b9fee837bf139d048fc22fe03b2bc 100644 (file)
@@ -6,7 +6,7 @@ use BookStack\References\ReferenceStore;
 use Illuminate\Console\Command;
 use Illuminate\Support\Facades\DB;
 
-class RegenerateReferences extends Command
+class RegenerateReferencesCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 96%
rename from app/Console/Commands/RegenerateSearch.php
rename to app/Console/Commands/RegenerateSearchCommand.php
index 23e2d2d0c2579db8dea3d6a969e369a2a3ba59ac..f67a51e3d93776d37a581a171b33da56bbc76b05 100644 (file)
@@ -7,7 +7,7 @@ use BookStack\Search\SearchIndex;
 use Illuminate\Console\Command;
 use Illuminate\Support\Facades\DB;
 
-class RegenerateSearch extends Command
+class RegenerateSearchCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 97%
rename from app/Console/Commands/ResetMfa.php
rename to app/Console/Commands/ResetMfaCommand.php
index 2d27fd01eee1f296b6575a689a3644ec3f341e05..b8076d2d61f19d37854e497b70370e98d9ed5039 100644 (file)
@@ -5,7 +5,7 @@ namespace BookStack\Console\Commands;
 use BookStack\Users\Models\User;
 use Illuminate\Console\Command;
 
-class ResetMfa extends Command
+class ResetMfaCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 99%
rename from app/Console/Commands/UpdateUrl.php
rename to app/Console/Commands/UpdateUrlCommand.php
index 2db413ff49e9ece0ab40e862d97abee1c2bfa967..27f84cc89f30689f40a87e80aaafa9181bcfb432 100644 (file)
@@ -5,7 +5,7 @@ namespace BookStack\Console\Commands;
 use Illuminate\Console\Command;
 use Illuminate\Database\Connection;
 
-class UpdateUrl extends Command
+class UpdateUrlCommand extends Command
 {
     /**
      * The name and signature of the console command.
similarity index 96%
rename from app/Console/Commands/UpgradeDatabaseEncoding.php
rename to app/Console/Commands/UpgradeDatabaseEncodingCommand.php
index 0692cf6eb92cb3a0889bad856d5f2899e0ca5568..245ce57c6f064812f09d0b9a5696dae7e645660d 100644 (file)
@@ -5,7 +5,7 @@ namespace BookStack\Console\Commands;
 use Illuminate\Console\Command;
 use Illuminate\Support\Facades\DB;
 
-class UpgradeDatabaseEncoding extends Command
+class UpgradeDatabaseEncodingCommand extends Command
 {
     /**
      * The name and signature of the console command.