From 30e806a359328187587b78911e1388ba4f57c2b9 Mon Sep 17 00:00:00 2001 From: mamazu <14860264+mamazu@users.noreply.github.com> Date: Wed, 8 Nov 2023 11:28:27 +0100 Subject: [PATCH] Adding void return type to command --- .../Console/Command/Phpcr/AccessControlPrivilegeListCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php | 2 +- .../Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodePropertySetCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodePropertyShowCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php | 2 +- .../Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php | 2 +- .../Console/Command/Phpcr/RepositoryDescriptorListCommand.php | 2 +- .../Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php | 2 +- .../Shell/Console/Command/Phpcr/RetentionHoldListCommand.php | 2 +- .../Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php | 2 +- .../Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php | 2 +- .../Console/Command/Phpcr/RetentionPolicyRemoveCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php | 2 +- .../Shell/Console/Command/Phpcr/SessionImpersonateCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php | 2 +- .../Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php | 2 +- .../Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php | 2 +- .../Shell/Console/Command/Phpcr/VersionCheckoutCommand.php | 2 +- .../Shell/Console/Command/Phpcr/VersionCheckpointCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php | 2 +- .../Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php | 2 +- .../Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php | 2 +- .../Console/Command/Phpcr/WorkspaceNamespaceListCommand.php | 2 +- .../Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php | 2 +- .../Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php | 2 +- src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php | 2 +- src/PHPCR/Shell/Console/Command/ShellCommand.php | 2 +- 78 files changed, 78 insertions(+), 78 deletions(-) diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/AccessControlPrivilegeListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/AccessControlPrivilegeListCommand.php index 87fe2fdc..1ff91731 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/AccessControlPrivilegeListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/AccessControlPrivilegeListCommand.php @@ -21,7 +21,7 @@ class AccessControlPrivilegeListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('access-control:privilege:list'); $this->setDescription('List the privileges of the repository or a specific node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php index 1d5f1a2f..63cf0382 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php @@ -20,7 +20,7 @@ class LockInfoCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('lock:info'); $this->setDescription('Show details of the lock that applies to the specified node path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php index 83b9d5d8..82a32bde 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php @@ -20,7 +20,7 @@ class LockLockCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('lock:lock'); $this->setDescription('Lock the node at the given path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php index 804bdd62..4eebc490 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php @@ -19,7 +19,7 @@ class LockRefreshCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('lock:refresh'); $this->setDescription('Refresh the TTL of the lock of the node at the given path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php index 51307268..fe9d9776 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php @@ -19,7 +19,7 @@ class LockTokenAddCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('lock:token:add'); $this->setDescription('Add a lock token to the current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php index 4bf3171f..798df966 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php @@ -19,7 +19,7 @@ class LockTokenListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('lock:token:list'); $this->setDescription('List a lock token to the current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php index b73d3935..f46b19ff 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php @@ -19,7 +19,7 @@ class LockTokenRemoveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('lock:token:remove'); $this->setDescription('Remove a lock token to the current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php index 34fd1f94..17b57cfc 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php @@ -19,7 +19,7 @@ class LockUnlockCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('lock:unlock'); $this->setDescription('Unlock the node at the given path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php index 37fcde2e..3321e212 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php @@ -19,7 +19,7 @@ class NodeCloneCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:clone'); $this->setDescription('Clone a node (immediate)'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php index d6b77a2a..d61a3f68 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php @@ -18,7 +18,7 @@ class NodeCopyCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:copy'); $this->setDescription('Copy a node (immediate)'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php index baa7033a..e962a3bb 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php @@ -18,7 +18,7 @@ class NodeCorrespondingCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:corresponding'); $this->setDescription('Show the path for the current nodes corresponding path in named workspace'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php index 686fac05..95a82c18 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php @@ -18,7 +18,7 @@ class NodeCreateCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:create'); $this->setDescription('Create a node at the current path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php index 2492ba21..44a3c4b0 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php @@ -25,7 +25,7 @@ class NodeEditCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:edit'); $this->setDescription('Edit the given node in the EDITOR configured by the system'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php index 39cebde5..95a170c5 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php @@ -26,7 +26,7 @@ class NodeFileImportCommand extends BasePhpcrCommand */ protected $session; - protected function configure() + protected function configure(): void { $this->setName('file:import'); $this->setDescription('Import a file at the given path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php index 396819d0..bb4404cd 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php @@ -19,7 +19,7 @@ class NodeInfoCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:info'); $this->setDescription('Show information about the current node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php index 575197ef..03955f02 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php @@ -19,7 +19,7 @@ class NodeLifecycleFollowCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:lifecycle:follow'); $this->setDescription('Causes the lifecycle state of this node to undergo the specified transition.'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php index 749f8f91..5be8e005 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php @@ -19,7 +19,7 @@ class NodeLifecycleListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:lifecycle:list'); $this->setDescription('Returns the list of valid state transitions for this node.'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php index 57c3e9f2..beff4ad1 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php @@ -33,7 +33,7 @@ class NodeListCommand extends BasePhpcrCommand protected $nbNodes = 0; protected $nbProperties = 0; - protected function configure() + protected function configure(): void { $this->setName('node:list'); $this->setDescription('List the children / properties of this node at the given path or with the given UUID'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php index d1566761..1a8484f7 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php @@ -18,7 +18,7 @@ class NodeMixinAddCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:mixin:add'); $this->setDescription('Add the named mixin to the node (can include wildcards)'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php index 41abd7c4..31e1accf 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php @@ -18,7 +18,7 @@ class NodeMixinRemoveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:mixin:remove'); $this->setDescription('Remove the named mixin to the current node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php index b2af8fd1..c42d101e 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php @@ -18,7 +18,7 @@ class NodeMoveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:move'); $this->setDescription('Move a node in the current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php index 7b140c17..22734780 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php @@ -18,7 +18,7 @@ class NodeOrderBeforeCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:order-before'); $this->setDescription('Reorder a child node of the current node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php index f6824181..73a59923 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php @@ -19,7 +19,7 @@ class NodePropertyRemoveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:property:remove'); $this->setDescription('Remove the property at the given absolute path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertySetCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertySetCommand.php index 3b29daac..0cd56dbf 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertySetCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertySetCommand.php @@ -22,7 +22,7 @@ class NodePropertySetCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:property:set'); $this->setDescription('Rename the node at the current path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php index 5e956233..ee69a354 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php @@ -19,7 +19,7 @@ class NodePropertyShowCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:property:show'); $this->setDescription('Show the property at the given path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php index 5231485b..f6716c9e 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php @@ -19,7 +19,7 @@ class NodeReferencesCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:references'); $this->setDescription('Returns all REFERENCE properties that refer to this node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php index 51bf1d1c..2ccf7643 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php @@ -19,7 +19,7 @@ class NodeRemoveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:remove'); $this->setDescription('Remove the node at path (can include wildcards)'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php index 53315549..5c6603e1 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php @@ -18,7 +18,7 @@ class NodeRenameCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:rename'); $this->setDescription('Rename the node at the current path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php index 209335c9..e1cadad3 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php @@ -18,7 +18,7 @@ class NodeSetPrimaryTypeCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:set-primary-type'); $this->setDescription('Set the primary type of the current node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php index 1467da19..a05b6e49 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php @@ -19,7 +19,7 @@ class NodeSharedShowCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:shared:show'); $this->setDescription('Show all the nodes are in the shared set of this node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php index 7762f88b..4ca7f7c6 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php @@ -22,7 +22,7 @@ class NodeTypeEditCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node-type:edit'); $this->setDescription('Edit or create a node type'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php index 0300ec19..f073e51e 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php @@ -19,7 +19,7 @@ class NodeTypeListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node-type:list'); $this->setDescription('List registered node types'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php index f14d5fd6..62fd4654 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php @@ -19,7 +19,7 @@ class NodeTypeLoadCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node-type:load'); $this->setDescription('Load or create a node type'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php index 0e60efaa..bc724cf3 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php @@ -20,7 +20,7 @@ class NodeTypeShowCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node-type:show'); $this->setDescription('Show the CND of a node type'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php index 7e7cf649..d4bd38d9 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php @@ -18,7 +18,7 @@ class NodeTypeUnregisterCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node-type:unregister'); $this->setDescription('Unregister a node type UNSUPPORTED / TODO'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php index dc44a32f..d425f059 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php @@ -18,7 +18,7 @@ class NodeUpdateCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('node:update'); $this->setDescription('Updates a node corresponding to the given path in the given workspace'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php index f7cdce19..20585992 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php @@ -19,7 +19,7 @@ class QueryCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('query'); $this->setDescription('Execute a SELECT query (advanced)'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php index 8ad7be4a..485c8193 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php @@ -18,7 +18,7 @@ class QueryDeleteCommand extends BaseQueryCommand { - protected function configure() + protected function configure(): void { $this->setName('delete'); $this->setDescription('Execute a DELETE query (non standard)'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php index 1645ab82..35aca72b 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php @@ -17,7 +17,7 @@ class QuerySelectCommand extends BaseQueryCommand { - protected function configure() + protected function configure(): void { $this->setName('select'); $this->setDescription('Execute a SELECT query (JCR-SQL2)'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php index 206bc7d9..825c94b5 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php @@ -23,7 +23,7 @@ class QueryUpdateCommand extends BaseQueryCommand */ protected $output; - protected function configure() + protected function configure(): void { $this->setName('update'); $this->setDescription('Execute an UPDATE query (non-standard)'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RepositoryDescriptorListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RepositoryDescriptorListCommand.php index 13cfe16e..13bedbef 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RepositoryDescriptorListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RepositoryDescriptorListCommand.php @@ -18,7 +18,7 @@ class RepositoryDescriptorListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('repository:descriptor:list'); $this->setDescription('List the descriptors for the current repository'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php index c8ba74ff..b7f57cf2 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php @@ -20,7 +20,7 @@ class RetentionHoldAddCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('retention:hold:add'); $this->setDescription('Adds a retention hold UNSUPPORTED'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldListCommand.php index 4b221c05..ea0ac3ed 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldListCommand.php @@ -20,7 +20,7 @@ class RetentionHoldListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('retention:hold:list'); $this->setDescription('List retention holds at given absolute path UNSUPPORTED'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php index adfecdb3..3e69710e 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php @@ -19,7 +19,7 @@ class RetentionHoldRemoveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('retention:hold:remove'); $this->setDescription('Removes a retention hold UNSUPPORTED'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php index 4ca06546..155f217d 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php @@ -19,7 +19,7 @@ class RetentionPolicyGetCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('retention:policy:get'); $this->setDescription('Get a retention policy for specified node UNSUPPORTED'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyRemoveCommand.php index da7a614e..8530d9c4 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyRemoveCommand.php @@ -19,7 +19,7 @@ class RetentionPolicyRemoveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('retention:policy:remove'); $this->setDescription('Remove a retention policy for specified node UNSUPPORTED'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php index e1684c5b..937604c3 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php @@ -21,7 +21,7 @@ class SessionExportCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:export'); $this->setDescription('Export the session to XML'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionImpersonateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionImpersonateCommand.php index e8073fc7..75049eca 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionImpersonateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionImpersonateCommand.php @@ -19,7 +19,7 @@ class SessionImpersonateCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:impersonate'); $this->setDescription('Impersonate the given user'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php index d5f1fcf8..81ca54b3 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php @@ -27,7 +27,7 @@ class SessionImportCommand extends BasePhpcrCommand 'collision-throw', ]; - protected function configure() + protected function configure(): void { $this->setName('session:import'); $this->setDescription('Import content from an XML file'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php index e0ea54bc..67d9ee51 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php @@ -18,7 +18,7 @@ class SessionInfoCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:info'); $this->setDescription('Display information about current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php index e05b19df..6b683ee1 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php @@ -18,7 +18,7 @@ class SessionLoginCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:login'); $this->setDescription('Login or (relogin) to a session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php index afb3e494..85f102aa 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php @@ -17,7 +17,7 @@ class SessionLogoutCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:logout'); $this->setDescription('Logout of the current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php index 844caa04..077d3a98 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php @@ -18,7 +18,7 @@ class SessionNamespaceListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:namespace:list'); $this->setDescription('List all namespace prefix to URI mappings in current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php index 0e8d2b6f..a777aaf5 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php @@ -18,7 +18,7 @@ class SessionNamespaceSetCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:namespace:set'); $this->setDescription('Set a namespace in the current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php index 2e177816..bc97166a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php @@ -18,7 +18,7 @@ class SessionRefreshCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:refresh'); $this->setDescription('Refresh the current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php index 0ff5de36..a4268c90 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php @@ -17,7 +17,7 @@ class SessionSaveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('session:save'); $this->setDescription('Save the current session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php index 807c517d..d4312418 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php @@ -19,7 +19,7 @@ class VersionCheckinCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('version:checkin'); $this->setDescription('Checkin (commit) a node version'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckoutCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckoutCommand.php index 0f7d4211..2278434f 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckoutCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckoutCommand.php @@ -19,7 +19,7 @@ class VersionCheckoutCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('version:checkout'); $this->setDescription('Checkout a node version and enable changes to be made'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckpointCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckpointCommand.php index c907b219..ba30f8b3 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckpointCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckpointCommand.php @@ -19,7 +19,7 @@ class VersionCheckpointCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('version:checkpoint'); $this->setDescription('Checkin and then checkout a node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php index 66cad499..788c9626 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php @@ -20,7 +20,7 @@ class VersionHistoryCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('version:history'); $this->setDescription('Show version history of node at given absolute path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php index e32fc7f1..74542f7d 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php @@ -19,7 +19,7 @@ class VersionRemoveCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('version:remove'); $this->setDescription('Remove a node version'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php index 77fb22d7..64ec1300 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php @@ -20,7 +20,7 @@ class VersionRestoreCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('version:restore'); $this->setDescription('Restore a node version'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php index 48c133c5..94ae45d6 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php @@ -18,7 +18,7 @@ class WorkspaceCreateCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('workspace:create'); $this->setDescription('Create a new workspace'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php index d9f315c0..3914f773 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php @@ -18,7 +18,7 @@ class WorkspaceDeleteCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('workspace:delete'); $this->setDescription('Delete a workspace'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php index 8712dd8a..11f7dc59 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php @@ -19,7 +19,7 @@ class WorkspaceListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('workspace:list'); $this->setDescription('Lists workspaces in the current repository'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceListCommand.php index 7afd24f3..33c48df9 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceListCommand.php @@ -18,7 +18,7 @@ class WorkspaceNamespaceListCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('workspace:namespace:list'); $this->setDescription('List all namespace prefix to URI mappings in current workspace'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php index fa5ed1f9..8cc0ac12 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php @@ -18,7 +18,7 @@ class WorkspaceNamespaceRegisterCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('workspace:namespace:register'); $this->setDescription('Sets a one-to-one mapping between prefix and uri in the global namespace'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php index 2dfc11e6..e9d1de68 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php @@ -18,7 +18,7 @@ class WorkspaceNamespaceUnregisterCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('workspace:namespace:unregister'); $this->setDescription('Unregister a namespace'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php index f16e1550..91718bed 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php @@ -18,7 +18,7 @@ class WorkspaceUseCommand extends BasePhpcrCommand { - protected function configure() + protected function configure(): void { $this->setName('workspace:use'); $this->setDescription('Change the current workspace'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php b/src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php index 1e9e7564..39484f32 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php @@ -19,7 +19,7 @@ class AliasListCommand extends BaseCommand { - public function configure() + public function configure(): void { $this->setName('shell:alias:list'); $this->setDescription('List all the registered aliases'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php index 114d7e55..73742ec9 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php @@ -18,7 +18,7 @@ class ClearCommand extends BaseCommand { - public function configure() + public function configure(): void { $this->setName('shell:clear'); $this->setDescription('Clear the screen'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php index 8da9c7d4..2f910e4e 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php @@ -20,7 +20,7 @@ class ConfigInitCommand extends BaseCommand { protected $output; - public function configure() + public function configure(): void { $this->setName('shell:config:init'); $this->setDescription('Initialize a local configuration with default values'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php index 06c3f30a..b8d73465 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php @@ -20,7 +20,7 @@ class ConfigReloadCommand extends BaseCommand { protected $output; - public function configure() + public function configure(): void { $this->setName('shell:config:reload'); $this->setDescription('Reload the configuration'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php index d500d6f2..14beb31c 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php @@ -19,7 +19,7 @@ class ExitCommand extends BaseCommand { - public function configure() + public function configure(): void { $this->setName('shell:exit'); $this->setDescription('Logout and quit the shell'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php b/src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php index fe9f3a4d..57d4a896 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php @@ -19,7 +19,7 @@ class PathChangeCommand extends BaseCommand { - protected function configure() + protected function configure(): void { $this->setName('shell:path:change'); $this->setDescription('Change the current path'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php b/src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php index f4287c52..81c3ccdf 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php @@ -18,7 +18,7 @@ class PathShowCommand extends BaseCommand { - protected function configure() + protected function configure(): void { $this->setName('shell:path:show'); $this->setDescription('Print Working Directory (or path)'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php index 0bdcb2c2..73e1c0e4 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php @@ -21,7 +21,7 @@ class ProfileShowCommand extends BaseCommand { protected $output; - public function configure() + public function configure(): void { $this->setName('shell:profile:show'); $this->setDescription('Show the current profile configuration'); diff --git a/src/PHPCR/Shell/Console/Command/ShellCommand.php b/src/PHPCR/Shell/Console/Command/ShellCommand.php index 7e419b34..341f9860 100644 --- a/src/PHPCR/Shell/Console/Command/ShellCommand.php +++ b/src/PHPCR/Shell/Console/Command/ShellCommand.php @@ -49,7 +49,7 @@ public function __construct(ShellApplication $application) /** * {@inheritdoc} */ - public function configure() + public function configure(): void { $this->setName('phpcr_shell'); $this->setDefinition([