diff --git a/src/Actions/DownloadAction.php b/src/Actions/DownloadAction.php index 1d0e14b..62f6c23 100644 --- a/src/Actions/DownloadAction.php +++ b/src/Actions/DownloadAction.php @@ -13,7 +13,7 @@ */ class DownloadAction extends AbstractAction { - const DATA_DIRECTORY = __DIR__ . '/../../data/'; + public const DATA_DIRECTORY = __DIR__ . '/../../data/'; /** * Action to download file diff --git a/src/FormGenerator/Form.php b/src/FormGenerator/Form.php index c6f6659..7794bf3 100644 --- a/src/FormGenerator/Form.php +++ b/src/FormGenerator/Form.php @@ -19,11 +19,11 @@ */ class Form { - const DATA_DIR = __DIR__ . '/../../data/'; + public const DATA_DIR = __DIR__ . '/../../data/'; - const MODE_SHOW = 'show'; - const MODE_SAVE = 'save'; - const MODE_SEND = 'send'; + public const MODE_SHOW = 'show'; + public const MODE_SAVE = 'save'; + public const MODE_SEND = 'send'; /** * @var string diff --git a/src/FormGenerator/FormRenderer.php b/src/FormGenerator/FormRenderer.php index 0aa8d37..7456d91 100644 --- a/src/FormGenerator/FormRenderer.php +++ b/src/FormGenerator/FormRenderer.php @@ -13,7 +13,7 @@ */ class FormRenderer { - const TEMPLATE_DIR = __DIR__ . '/../../view/'; + public const TEMPLATE_DIR = __DIR__ . '/../../view/'; /** * @var TemplateWrapper diff --git a/src/FormGenerator/FormValidator.php b/src/FormGenerator/FormValidator.php index a04903b..ea71018 100644 --- a/src/FormGenerator/FormValidator.php +++ b/src/FormGenerator/FormValidator.php @@ -15,7 +15,7 @@ */ class FormValidator { - const COLORS_BULMA = [ + public const COLORS_BULMA = [ 'white', 'black', 'light', diff --git a/src/Service/FileExporter.php b/src/Service/FileExporter.php index cf031cc..878ac02 100644 --- a/src/Service/FileExporter.php +++ b/src/Service/FileExporter.php @@ -11,7 +11,7 @@ */ class FileExporter { - const ROOT_DIR = __DIR__ . '/../../'; + public const ROOT_DIR = __DIR__ . '/../../'; /** * @var string diff --git a/src/Service/LangManager.php b/src/Service/LangManager.php index 85c7331..638abfc 100644 --- a/src/Service/LangManager.php +++ b/src/Service/LangManager.php @@ -10,9 +10,9 @@ */ class LangManager { - const LANG_FILE_PATH_GLOBAL = __DIR__ . '/../../conf/language.default.yaml'; - const LANG_FILE_PATH_LOCAL = __DIR__ . '/../../conf/language.local.yaml'; - const LANG_FILE_PATH_DYNAMIC = __DIR__ . '/../../conf/language.{{language}}.yaml'; + public const LANG_FILE_PATH_GLOBAL = __DIR__ . '/../../conf/language.default.yaml'; + public const LANG_FILE_PATH_LOCAL = __DIR__ . '/../../conf/language.local.yaml'; + public const LANG_FILE_PATH_DYNAMIC = __DIR__ . '/../../conf/language.{{language}}.yaml'; /** * Language strings.