From 5bef81ff076116fca1ac9aae639012a8dfdc6897 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 3 Feb 2018 11:46:23 +0100 Subject: [PATCH] Add spaces around namespace --- Admin/Activate.php | 1 + Admin/Deactivate.php | 1 + Admin/Install/Navigation.php | 2 ++ Admin/Installer.php | 1 + Admin/Uninstall.php | 1 + Admin/Update.php | 1 + Controller.php | 1 + Models/Template.php | 1 + Models/WorkflowInterface.php | 3 ++- Models/WorkflowStatus.php | 11 ++++++----- Templates/Permission/PermissionStatus.php | 5 +++-- Templates/Permission/States.php | 7 ++++--- Templates/Permission/Workflow.php | 1 + 13 files changed, 25 insertions(+), 11 deletions(-) diff --git a/Admin/Activate.php b/Admin/Activate.php index 76bd7d6..12baa6f 100644 --- a/Admin/Activate.php +++ b/Admin/Activate.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php index e6799a5..103ac2d 100644 --- a/Admin/Deactivate.php +++ b/Admin/Deactivate.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index d61f9c1..68e5a06 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -11,7 +11,9 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Admin\Install; + use phpOMS\DataStorage\Database\DatabasePool; /** diff --git a/Admin/Installer.php b/Admin/Installer.php index a77783f..754428c 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Admin; use phpOMS\DataStorage\Database\DatabaseType; diff --git a/Admin/Uninstall.php b/Admin/Uninstall.php index 9f3a5e6..5a09aaa 100644 --- a/Admin/Uninstall.php +++ b/Admin/Uninstall.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Update.php b/Admin/Update.php index 2c5f207..4f71580 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Controller.php b/Controller.php index e7ce6ce..d169904 100644 --- a/Controller.php +++ b/Controller.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow; use phpOMS\Message\RequestAbstract; diff --git a/Models/Template.php b/Models/Template.php index 583f97c..d9fd631 100644 --- a/Models/Template.php +++ b/Models/Template.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Models; /** diff --git a/Models/WorkflowInterface.php b/Models/WorkflowInterface.php index 229e540..bbfc8c3 100644 --- a/Models/WorkflowInterface.php +++ b/Models/WorkflowInterface.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Models; /** @@ -24,4 +25,4 @@ namespace Modules\Workflow\Models; interface WorkflowInterface { -} \ No newline at end of file +} diff --git a/Models/WorkflowStatus.php b/Models/WorkflowStatus.php index 0b44e58..c8f7b51 100644 --- a/Models/WorkflowStatus.php +++ b/Models/WorkflowStatus.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Models; use phpOMS\Stdlib\Base\Enum; @@ -25,10 +26,10 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class WorkflowStatus extends Enum { - /* public */ const OPEN = 1; - /* public */ const WORKING = 2; + /* public */ const OPEN = 1; + /* public */ const WORKING = 2; /* public */ const SUSPENDED = 3; - /* public */ const CANCELED = 4; - /* public */ const DONE = 5; - /* public */ const CLOSED = 6; + /* public */ const CANCELED = 4; + /* public */ const DONE = 5; + /* public */ const CLOSED = 6; } diff --git a/Templates/Permission/PermissionStatus.php b/Templates/Permission/PermissionStatus.php index a22e6f6..5f2dad1 100644 --- a/Templates/Permission/PermissionStatus.php +++ b/Templates/Permission/PermissionStatus.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Templates\Permission; use phpOMS\Stdlib\Base\Enum; @@ -25,7 +26,7 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class PermissionStatus extends Enum { - /* public */ const PENDING = 1; - /* public */ const APPROVED = 2; + /* public */ const PENDING = 1; + /* public */ const APPROVED = 2; /* public */ const DISMISSED = 3; } diff --git a/Templates/Permission/States.php b/Templates/Permission/States.php index e201fec..84e702f 100644 --- a/Templates/Permission/States.php +++ b/Templates/Permission/States.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Workflow\Templates\Permission; use phpOMS\Stdlib\Base\Enum; @@ -25,8 +26,8 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class States extends Enum { - /* public */ const DEFAULT = 0; - /* public */ const PENDING = 1; - /* public */ const APPROVED = 2; + /* public */ const DEFAULT = 0; + /* public */ const PENDING = 1; + /* public */ const APPROVED = 2; /* public */ const DISMISSED = 3; } diff --git a/Templates/Permission/Workflow.php b/Templates/Permission/Workflow.php index f226f84..82618ec 100644 --- a/Templates/Permission/Workflow.php +++ b/Templates/Permission/Workflow.php @@ -11,6 +11,7 @@ * @link http://website.orange-management.de */ declare(strict_types = 1); + namespace Modules\Media; use Modules\Workflow\Models\WorkflowInterface;