summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Base.php6
-rw-r--r--core/Command/Log/Manage.php6
-rw-r--r--core/Command/Maintenance/Mimetype/UpdateDB.php2
-rw-r--r--core/Command/Upgrade.php12
4 files changed, 13 insertions, 13 deletions
diff --git a/core/Command/Base.php b/core/Command/Base.php
index 9c20e049311..385642a7313 100644
--- a/core/Command/Base.php
+++ b/core/Command/Base.php
@@ -34,9 +34,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Base extends Command implements CompletionAwareInterface {
- const OUTPUT_FORMAT_PLAIN = 'plain';
- const OUTPUT_FORMAT_JSON = 'json';
- const OUTPUT_FORMAT_JSON_PRETTY = 'json_pretty';
+ public const OUTPUT_FORMAT_PLAIN = 'plain';
+ public const OUTPUT_FORMAT_JSON = 'json';
+ public const OUTPUT_FORMAT_JSON_PRETTY = 'json_pretty';
protected $defaultOutputFormat = self::OUTPUT_FORMAT_PLAIN;
diff --git a/core/Command/Log/Manage.php b/core/Command/Log/Manage.php
index 2d7eaf9e2e6..0318e1c8d2d 100644
--- a/core/Command/Log/Manage.php
+++ b/core/Command/Log/Manage.php
@@ -36,9 +36,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Manage extends Command implements CompletionAwareInterface {
- const DEFAULT_BACKEND = 'file';
- const DEFAULT_LOG_LEVEL = 2;
- const DEFAULT_TIMEZONE = 'UTC';
+ public const DEFAULT_BACKEND = 'file';
+ public const DEFAULT_LOG_LEVEL = 2;
+ public const DEFAULT_TIMEZONE = 'UTC';
/** @var IConfig */
protected $config;
diff --git a/core/Command/Maintenance/Mimetype/UpdateDB.php b/core/Command/Maintenance/Mimetype/UpdateDB.php
index 47b0b600777..eb81ad4991a 100644
--- a/core/Command/Maintenance/Mimetype/UpdateDB.php
+++ b/core/Command/Maintenance/Mimetype/UpdateDB.php
@@ -32,7 +32,7 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class UpdateDB extends Command {
- const DEFAULT_MIMETYPE = 'application/octet-stream';
+ public const DEFAULT_MIMETYPE = 'application/octet-stream';
/** @var IMimeTypeDetector */
protected $mimetypeDetector;
diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php
index 461884fabe4..f00945a29d0 100644
--- a/core/Command/Upgrade.php
+++ b/core/Command/Upgrade.php
@@ -47,12 +47,12 @@ use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\EventDispatcher\GenericEvent;
class Upgrade extends Command {
- const ERROR_SUCCESS = 0;
- const ERROR_NOT_INSTALLED = 1;
- const ERROR_MAINTENANCE_MODE = 2;
- const ERROR_UP_TO_DATE = 0;
- const ERROR_INVALID_ARGUMENTS = 4;
- const ERROR_FAILURE = 5;
+ public const ERROR_SUCCESS = 0;
+ public const ERROR_NOT_INSTALLED = 1;
+ public const ERROR_MAINTENANCE_MODE = 2;
+ public const ERROR_UP_TO_DATE = 0;
+ public const ERROR_INVALID_ARGUMENTS = 4;
+ public const ERROR_FAILURE = 5;
/** @var IConfig */
private $config;