Skip to content

Commit 0fa310c

Browse files
Update for symfony/console 5.0
1 parent 7d05c61 commit 0fa310c

File tree

77 files changed

+155
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+155
-3
lines changed

src/PHPCR/Shell/Console/Command/Phpcr/AccessControlPrivilegeListCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,7 @@ public function execute(InputInterface $input, OutputInterface $output)
7373
foreach ($privileges as $privilege) {
7474
$table->addRow([$privilege->getName()]);
7575
}
76+
77+
return 0;
7678
}
7779
}

src/PHPCR/Shell/Console/Command/Phpcr/LockInfoCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,7 @@ public function execute(InputInterface $input, OutputInterface $output)
6464
}
6565

6666
$table->render($output);
67+
68+
return 0;
6769
}
6870
}

src/PHPCR/Shell/Console/Command/Phpcr/LockLockCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,7 @@ public function execute(InputInterface $input, OutputInterface $output)
7979
$ownerInfo = $input->getOption('owner-info');
8080

8181
$lockManager->lock($path, $isDeep, $isSessionScoped, $timeout, $ownerInfo);
82+
83+
return 0;
8284
}
8385
}

src/PHPCR/Shell/Console/Command/Phpcr/LockRefreshCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,7 @@ public function execute(InputInterface $input, OutputInterface $output)
4949
$lock = $lockManager->getLock($node->getPath());
5050
$lock->refresh();
5151
}
52+
53+
return 0;
5254
}
5355
}

src/PHPCR/Shell/Console/Command/Phpcr/LockTokenAddCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,7 @@ public function execute(InputInterface $input, OutputInterface $output)
4343
$lockToken = $input->getArgument('lockToken');
4444

4545
$lockManager->addLockToken($lockToken);
46+
47+
return 0;
4648
}
4749
}

src/PHPCR/Shell/Console/Command/Phpcr/LockTokenListCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,7 @@ public function execute(InputInterface $input, OutputInterface $output)
5151
}
5252

5353
$table->render($output);
54+
55+
return 0;
5456
}
5557
}

src/PHPCR/Shell/Console/Command/Phpcr/LockTokenRemoveCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,7 @@ public function execute(InputInterface $input, OutputInterface $output)
4040
$lockToken = $input->getArgument('lockToken');
4141

4242
$lockManager->removeLockToken($lockToken);
43+
44+
return 0;
4345
}
4446
}

src/PHPCR/Shell/Console/Command/Phpcr/LockUnlockCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,7 @@ public function execute(InputInterface $input, OutputInterface $output)
4848
$path = $session->getAbsPath($input->getArgument('path'));
4949

5050
$lockManager->unlock($path);
51+
52+
return 0;
5153
}
5254
}

src/PHPCR/Shell/Console/Command/Phpcr/NodeCloneCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,7 @@ public function execute(InputInterface $input, OutputInterface $output)
7373

7474
$workspace = $session->getWorkspace();
7575
$workspace->cloneFrom($srcWorkspace, $srcAbsPath, $destAbsPath, $removeExisting);
76+
77+
return 0;
7678
}
7779
}

src/PHPCR/Shell/Console/Command/Phpcr/NodeCopyCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,7 @@ public function execute(InputInterface $input, OutputInterface $output)
4747

4848
$workspace = $session->getWorkspace();
4949
$workspace->copy($srcAbsPath, $destAbsPath, $srcWorkspace);
50+
51+
return 0;
5052
}
5153
}

0 commit comments

Comments
 (0)