From 4d7519ad86e422e76fdeb807872dac1ddcec342a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 6 Oct 2019 17:50:12 +0200 Subject: [PATCH] phpcs fixes --- Interfaces/GSD/en.lang.php | 4 +++- Models/ExchangeType.php | 16 ++++++++-------- Theme/Backend/Lang/Navigation.en.lang.php | 4 +++- Theme/Backend/Lang/en.lang.php | 4 +++- Theme/Backend/exchange-dashboard.tpl.php | 4 +++- Theme/Backend/exchange-export-list.tpl.php | 4 +++- Theme/Backend/exchange-export.tpl.php | 4 +++- Theme/Backend/exchange-import-list.tpl.php | 4 +++- Theme/Backend/exchange-import.tpl.php | 4 +++- 9 files changed, 32 insertions(+), 16 deletions(-) diff --git a/Interfaces/GSD/en.lang.php b/Interfaces/GSD/en.lang.php index 6a65786..4c8b918 100644 --- a/Interfaces/GSD/en.lang.php +++ b/Interfaces/GSD/en.lang.php @@ -1,4 +1,4 @@ - 'Accounts', 'Articles' => 'Articles', diff --git a/Models/ExchangeType.php b/Models/ExchangeType.php index 2ebc269..9886acc 100644 --- a/Models/ExchangeType.php +++ b/Models/ExchangeType.php @@ -28,12 +28,12 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class ExchangeType extends Enum { - public const CUSTOMER = 1; - public const SUPPLIER = 2; - public const ARTICLE = 3; - public const BOOKING = 4; - public const ACCOUNT = 5; - public const ADDRESS = 6; - public const COSTCENTER = 7; - public const COSTOBJECT = 8; + public const CUSTOMER = 1; + public const SUPPLIER = 2; + public const ARTICLE = 3; + public const BOOKING = 4; + public const ACCOUNT = 5; + public const ADDRESS = 6; + public const COSTCENTER = 7; + public const COSTOBJECT = 8; } diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 87e1bf7..a5e9cf8 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -1,4 +1,4 @@ - [ 'Dashboard' => 'Dashboard', 'Exchange' => 'Exchange', diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 880860f..ee4f7c0 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -1,4 +1,4 @@ - [ 'Database' => 'Database', 'End' => 'End', diff --git a/Theme/Backend/exchange-dashboard.tpl.php b/Theme/Backend/exchange-dashboard.tpl.php index 21b9d6a..b98a470 100644 --- a/Theme/Backend/exchange-dashboard.tpl.php +++ b/Theme/Backend/exchange-dashboard.tpl.php @@ -1,4 +1,4 @@ -getData('lang');