Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/Command/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
private bool $interrupted = false;

protected function configure() {
// Some of our commands do not extend this class; and some of those that do do not call parent::configure()
$defaultHelp = 'More extensive and thorough documentation may be found at ' . \OCP\Server::get(\OCP\Defaults::class)->getDocBaseUrl() . PHP_EOL;
$this
->setHelp($this->defaultHelp)

Check failure on line 32 in core/Command/Base.php

View workflow job for this annotation

GitHub Actions / static-code-analysis

UndefinedThisPropertyFetch

core/Command/Base.php:32:14: UndefinedThisPropertyFetch: Instance property OC\Core\Command\Base::$defaultHelp is not defined (see https://psalm.dev/041)
->addOption(
'output',
null,
Expand Down
Loading