From a63388dfeb49790a1a52f01d52931b55b5606943 Mon Sep 17 00:00:00 2001 From: mamazu <14860264+mamazu@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:07:00 +0100 Subject: [PATCH] Adding int return type --- .../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 1ff9173..98e7765 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/AccessControlPrivilegeListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/AccessControlPrivilegeListCommand.php @@ -55,7 +55,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_ACCESS_CONTROL_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $supported = $input->getOption('supported'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php index 63cf038..5320520 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php @@ -39,7 +39,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.get_lock'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $session->getAbsPath($input->getArgument('path')); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php index 82a32bd..648f977 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php @@ -67,7 +67,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.get_lock'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php index 4eebc49..a48f610 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php @@ -37,7 +37,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.get_lock'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php index fe9d977..0f40026 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php @@ -36,7 +36,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.lock_token'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php index 798df96..2109b9f 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php @@ -36,7 +36,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.lock_token'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php index f46b19f..d0e057d 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php @@ -33,7 +33,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.lock_token'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php index 17b57cf..90f4855 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php @@ -40,7 +40,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.get_lock'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php index 3321e21..78cce8f 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php @@ -58,7 +58,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $srcWorkspace = $input->getArgument('srcWorkspace'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php index d61a3f6..a5b2b7d 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php @@ -39,7 +39,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $srcAbsPath = $session->getAbsPath($input->getArgument('srcPath')); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php index e962a3b..a1aa94a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCorrespondingCommand.php @@ -32,7 +32,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php index 95a82c1..30d31d3 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeCreateCommand.php @@ -45,7 +45,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $pathHelper = $this->get('helper.path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php index 44a3c4b..5b62178 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeEditCommand.php @@ -45,7 +45,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php index 95a170c..aa18c55 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeFileImportCommand.php @@ -62,7 +62,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $this->session = $this->get('phpcr.session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php index bb4404c..8b2aca4 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php @@ -35,7 +35,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php index 03955f0..260a5fb 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleFollowCommand.php @@ -42,7 +42,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_LIFECYCLE_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php index 5be8e00..ac4e005 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeLifecycleListCommand.php @@ -33,7 +33,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_LIFECYCLE_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php index beff4ad..8084896 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php @@ -65,7 +65,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $globHelper = $this->get('dtl.glob.helper'); $this->formatter = $this->get('helper.result_formatter'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php index 1a8484f..32d6668 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinAddCommand.php @@ -36,7 +36,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php index 31e1acc..1b1418f 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMixinRemoveCommand.php @@ -35,7 +35,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $mixinName = $input->getArgument('mixinName'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php index c42d101..3ad730a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeMoveCommand.php @@ -35,7 +35,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $srcPath = $input->getArgument('srcPath'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php index 2273478..b186d81 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php @@ -40,7 +40,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php index 73a5992..6d9fb7f 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyRemoveCommand.php @@ -31,7 +31,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $absPath = $input->getArgument('absPath'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertySetCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertySetCommand.php index 0cd56db..dffd21f 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertySetCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertySetCommand.php @@ -47,7 +47,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $pathHelper = $this->get('helper.path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php index ee69a35..1f00551 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php @@ -31,7 +31,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $session->getAbsPath($input->getArgument('path')); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php index f6716c9..862e16a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php @@ -37,7 +37,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php index 2ccf764..ba5f981 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeRemoveCommand.php @@ -36,7 +36,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php index 5c6603e..474891e 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeRenameCommand.php @@ -35,7 +35,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php index e1cadad..27bf0b3 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSetPrimaryTypeCommand.php @@ -34,7 +34,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php index a05b6e4..1d46077 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php @@ -38,7 +38,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_SHAREABLE_NODES_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php index 4ca7f7c..656bf56 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeEditCommand.php @@ -41,7 +41,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $editor = $this->get('helper.editor'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php index f073e51..5b9b8b1 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeListCommand.php @@ -33,7 +33,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php index 62fd465..41031c2 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeLoadCommand.php @@ -40,7 +40,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $cndFile = $input->getArgument('cndFile'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php index bc724cf..a4af653 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeShowCommand.php @@ -32,7 +32,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $nodeTypeName = $input->getArgument('nodeTypeName'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php index d4bd38d..7ee5d50 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeTypeUnregisterCommand.php @@ -32,7 +32,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.node_type.unregister'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $nodeTypeName = $input->getArgument('nodeTypeName'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php index d425f05..81e46b5 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php @@ -44,7 +44,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php index 2058599..17c92f7 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/QueryCommand.php @@ -38,7 +38,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $language = $input->getOption('language'); $limit = $input->getOption('limit'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php index 485c819..a2e5996 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/QueryDeleteCommand.php @@ -37,7 +37,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $sql = $this->getQuery($input); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php index 35aca72..3f62827 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/QuerySelectCommand.php @@ -33,7 +33,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $sql = $this->getQuery($input); $input = $this->getQuery($input); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php index 825c94b..a063e19 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/QueryUpdateCommand.php @@ -66,7 +66,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $this->output = $output; $sql = $this->getQuery($input); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RepositoryDescriptorListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RepositoryDescriptorListCommand.php index 13bedbe..baf0282 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RepositoryDescriptorListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RepositoryDescriptorListCommand.php @@ -30,7 +30,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $repository = $session->getRepository(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php index b7f57cf..9b45ed0 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldAddCommand.php @@ -41,7 +41,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_RETENTION_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $retentionManager = $session->getRetentionManager(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldListCommand.php index ea0ac3e..2e26a91 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldListCommand.php @@ -35,7 +35,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_RETENTION_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $retentionManager = $session->getRetentionManager(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php index 3e69710..b56ad6e 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionHoldRemoveCommand.php @@ -36,7 +36,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_RETENTION_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $retentionManager = $session->getRetentionManager(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php index 155f217..9e48071 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyGetCommand.php @@ -33,7 +33,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_RETENTION_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $retentionManager = $session->getRetentionManager(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyRemoveCommand.php index 8530d9c..78a6ee7 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/RetentionPolicyRemoveCommand.php @@ -33,7 +33,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_RETENTION_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $retentionManager = $session->getRetentionManager(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php index 937604c..5fbb576 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionExportCommand.php @@ -54,7 +54,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $file = $input->getArgument('file'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionImpersonateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionImpersonateCommand.php index 75049ec..d1e172a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionImpersonateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionImpersonateCommand.php @@ -36,7 +36,7 @@ protected function configure(): void $this->dequiresDescriptor('jackalope.not_implemented.session.impersonate'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $username = $input->getArgument('username'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php index 81ca54b..4d62aa0 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionImportCommand.php @@ -79,7 +79,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $file = $input->getArgument('file'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php index 67d9ee5..b9351a5 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionInfoCommand.php @@ -29,7 +29,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $repository = $session->getRepository(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php index 6b683ee..ece1901 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionLoginCommand.php @@ -32,7 +32,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $username = $input->getArgument('userId'); $password = $input->getArgument('password'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php index 85f102a..ed205bb 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionLogoutCommand.php @@ -30,7 +30,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $session->logout(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php index 077d3a9..2df63f9 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceListCommand.php @@ -29,7 +29,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $prefixes = $session->getNamespacePrefixes(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php index a777aaf..9aba0b2 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionNamespaceSetCommand.php @@ -38,7 +38,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $prefix = $input->getArgument('prefix'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php index bc97166..27d8194 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionRefreshCommand.php @@ -38,7 +38,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $keepChanges = $input->getOption('keep-changes'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php index a4268c9..556c266 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/SessionSaveCommand.php @@ -41,7 +41,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php index d431241..8d5fd55 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckinCommand.php @@ -58,7 +58,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_VERSIONING_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $nodeHelper = $this->get('helper.node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckoutCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckoutCommand.php index 2278434..89daa4a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckoutCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckoutCommand.php @@ -45,7 +45,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_VERSIONING_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $nodeHelper = $this->get('helper.node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckpointCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckpointCommand.php index ba30f8b..7940304 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckpointCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionCheckpointCommand.php @@ -35,7 +35,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_VERSIONING_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $nodeHelper = $this->get('helper.node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php index 788c962..815ba7a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionHistoryCommand.php @@ -33,7 +33,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_VERSIONING_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $nodeHelper = $this->get('helper.node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php index 74542f7..259e305 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionRemoveCommand.php @@ -47,7 +47,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_VERSIONING_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $nodeHelper = $this->get('helper.node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php index 64ec130..dc8f2d5 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/VersionRestoreCommand.php @@ -41,7 +41,7 @@ protected function configure(): void $this->requiresDescriptor(RepositoryInterface::OPTION_VERSIONING_SUPPORTED, true); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $nodeHelper = $this->get('helper.node'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php index 94ae45d..b423c29 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceCreateCommand.php @@ -38,7 +38,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $name = $input->getArgument('name'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php index 3914f77..157eeae 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceDeleteCommand.php @@ -32,7 +32,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $name = $input->getArgument('name'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php index 11f7dc5..43c263a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceListCommand.php @@ -40,7 +40,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceListCommand.php index 33c48df..7005980 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceListCommand.php @@ -29,7 +29,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php index 8cc0ac1..db82272 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceRegisterCommand.php @@ -31,7 +31,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php index e9d1de6..f5adef2 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceNamespaceUnregisterCommand.php @@ -40,7 +40,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $workspace = $session->getWorkspace(); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php index 91718be..7720835 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/WorkspaceUseCommand.php @@ -31,7 +31,7 @@ protected function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $workspaceName = $input->getArgument('name'); $this->get('phpcr.session_manager')->changeWorkspace($workspaceName); diff --git a/src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php b/src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php index 39484f3..c983d54 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/AliasListCommand.php @@ -30,7 +30,7 @@ public function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $config = $this->get('config.manager'); $aliases = $config->getConfig('alias'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php index 73742ec..dff0788 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ClearCommand.php @@ -29,7 +29,7 @@ public function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $output->write("\033[2J\033[;H"); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php index 2f910e4..07ef87e 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ConfigInitCommand.php @@ -31,7 +31,7 @@ public function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $this->output = $output; $configHelper = $this->get('config.manager'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php index b8d7346..62c8e3c 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ConfigReloadCommand.php @@ -31,7 +31,7 @@ public function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $this->output = $output; $config = $this->get('config.manager'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php index 14beb31..a2fd296 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ExitCommand.php @@ -25,7 +25,7 @@ public function configure(): void $this->setDescription('Logout and quit the shell'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $dialog = $this->get('helper.question'); $session = $this->get('phpcr.session'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php b/src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php index 57d4a89..f07d113 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/PathChangeCommand.php @@ -26,7 +26,7 @@ protected function configure(): void $this->addArgument('path'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $session = $this->get('phpcr.session'); $path = $input->getArgument('path'); diff --git a/src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php b/src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php index 81c3ccd..9aff69b 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/PathShowCommand.php @@ -24,7 +24,7 @@ protected function configure(): void $this->setDescription('Print Working Directory (or path)'); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $output->writeln( ''.$this->get('phpcr.session')->getCwd().'' diff --git a/src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php b/src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php index 73e1c0e..3847606 100644 --- a/src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Shell/ProfileShowCommand.php @@ -32,7 +32,7 @@ public function configure(): void ); } - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $this->output = $output; $profile = $this->get('config.profile'); diff --git a/src/PHPCR/Shell/Console/Command/ShellCommand.php b/src/PHPCR/Shell/Console/Command/ShellCommand.php index 341f986..64426a3 100644 --- a/src/PHPCR/Shell/Console/Command/ShellCommand.php +++ b/src/PHPCR/Shell/Console/Command/ShellCommand.php @@ -83,7 +83,7 @@ public function configure(): void /** * {@inheritdoc} */ - public function execute(InputInterface $input, OutputInterface $output) + public function execute(InputInterface $input, OutputInterface $output): int { $showUnspported = $input->getOption('unsupported');