Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/src/Console/AddUserCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class AddUserCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'user:add';
protected static $defaultName = 'joomla:user:add';

/**
* SymfonyStyle Object
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/AddUserToGroupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AddUserToGroupCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'user:addtogroup';
protected static $defaultName = 'joomla:user:addtogroup';

/**
* SymfonyStyle Object
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/ChangeUserPasswordCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ChangeUserPasswordCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'user:reset-password';
protected static $defaultName = 'joomla:user:reset-password';

/**
* SymfonyStyle Object
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/CheckJoomlaUpdatesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CheckJoomlaUpdatesCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'core:check-updates';
protected static $defaultName = 'joomla:updates:check';

/**
* Stores the Update Information
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/CheckUpdatesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class CheckUpdatesCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'update:extensions:check';
protected static $defaultName = 'joomla:extensions:checkupdates';

/**
* Internal function to execute the command.
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/CleanCacheCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CleanCacheCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'cache:clean';
protected static $defaultName = 'joomla:cache:clean';

/**
* Internal function to execute the command.
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/DeleteUserCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class DeleteUserCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'user:delete';
protected static $defaultName = 'joomla:user:delete';

/**
* SymfonyStyle Object
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/ExtensionInstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ExtensionInstallCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'extension:install';
protected static $defaultName = 'joomla:extension:install';

/**
* Stores the Input Object
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Console/ExtensionRemoveCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ExtensionRemoveCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'extension:remove';
protected static $defaultName = 'joomla:extension:remove';

/**
* @var InputInterface
Expand Down Expand Up @@ -123,12 +123,12 @@ protected function configure(): void
$this->addArgument(
'extensionId',
InputArgument::REQUIRED,
'ID of extension to be removed (run extension:list command to check)'
'ID of extension to be removed (run joomla:extension:list command to check)'
);

$help = "<info>%command.name%</info> is used to uninstall extensions.
\nThe command requires one argument, the ID of the extension to uninstall.
\nYou may find this ID by running the <info>extension:list</info> command.
\nYou may find this ID by running the <info>joomla:extension:list</info> command.
\nUsage: <info>php %command.full_name% <extension_id></info>";

$this->setDescription('Remove an extension');
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/ExtensionsListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ExtensionsListCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'extension:list';
protected static $defaultName = 'joomla:extension:list';

/**
* Stores the installed Extensions
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/FinderIndexCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class FinderIndexCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'finder:index';
protected static $defaultName = 'joomla:finder:index';

/**
* Stores the Input Object
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/GetConfigurationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class GetConfigurationCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'config:get';
protected static $defaultName = 'joomla:config:get';

/**
* Stores the Input Object
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/ListUserCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class ListUserCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'user:list';
protected static $defaultName = 'joomla:user:list';

/**
* SymfonyStyle Object
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/RemoveOldFilesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class RemoveOldFilesCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'update:joomla:remove-old-files';
protected static $defaultName = 'joomla:update:cleanup';

/**
* Internal function to execute the command.
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/RemoveUserFromGroupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class RemoveUserFromGroupCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'user:removefromgroup';
protected static $defaultName = 'joomla:user:removefromgroup';

/**
* SymfonyStyle Object
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/SessionGcCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SessionGcCommand extends AbstractCommand implements ContainerAwareInterfac
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'session:gc';
protected static $defaultName = 'joomla:session:gc';

/**
* Internal function to execute the command.
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/SessionMetadataGcCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SessionMetadataGcCommand extends AbstractCommand
* @var string
* @since 4.0.0
*/
protected static $defaultName = 'session:metadata:gc';
protected static $defaultName = 'joomla:session:metadatagc';

/**
* The session metadata manager.
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/SetConfigurationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SetConfigurationCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'config:set';
protected static $defaultName = 'joomla:config:set';

/**
* Stores the Input Object
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Console/SiteDownCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SiteDownCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'site:down';
protected static $defaultName = 'joomla:site:down';

/**
* SymfonyStyle Object
Expand All @@ -39,13 +39,13 @@ class SiteDownCommand extends AbstractCommand
private $ioStyle;

/**
* Return code if site:down failed
* Return code if joomla:site:down failed
* @since 4.0
*/
const SITE_DOWN_FAILED = 1;

/**
* Return code if site:down was successful
* Return code if joomla:site:down was successful
* @since 4.0
*/
const SITE_DOWN_SUCCESSFUL = 0;
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Console/SiteUpCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SiteUpCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'site:up';
protected static $defaultName = 'joomla:site:up';

/**
* SymfonyStyle Object
Expand All @@ -39,13 +39,13 @@ class SiteUpCommand extends AbstractCommand
private $ioStyle;

/**
* Return code if site:up failed
* Return code if joomla:site:up failed
* @since 4.0
*/
const SITE_UP_FAILED = 1;

/**
* Return code if site:up was successful
* Return code if joomla:site:up was successful
* @since 4.0
*/
const SITE_UP_SUCCESSFUL = 0;
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Console/UpdateCoreCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class UpdateCoreCommand extends AbstractCommand
* @var string
* @since 4.0
*/
protected static $defaultName = 'core:update';
protected static $defaultName = 'joomla:update:install';

/**
* Stores the Input Object
Expand Down