From 346883a6538902a66f70e0d0a142b77492991e8f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 1 Mar 2017 14:05:29 +0100 Subject: [PATCH] Strict types enabled --- Admin/Activate.php | 1 + Admin/Deactivate.php | 1 + Admin/Install/Navigation.php | 1 + Admin/Installer.php | 1 + Admin/Uninstall.php | 2 +- Admin/Update.php | 2 +- Controller.php | 1 + Models/AccountAbstract.php | 1 + Models/AccountBalance.php | 1 + Models/AccountInterface.php | 1 + Models/AccountType.php | 1 + Models/Balance.php | 1 + Models/BatchPosting.php | 1 + Models/Creditor.php | 1 + Models/CreditorAccount.php | 1 + Models/Debitor.php | 1 + Models/DebitorAccount.php | 1 + Models/EntryInterface.php | 1 + Models/ImpersonalAccount.php | 1 + Models/IncomeStatement.php | 1 + Models/InvoicePosting.php | 1 + Models/InvoicePostingSimple.php | 1 + Models/PersonalAccountAbstract.php | 1 + Models/Posting.php | 1 + Models/PostingAbstract.php | 1 + Models/PostingInterface.php | 1 + Models/TimeRangeType.php | 1 + 27 files changed, 27 insertions(+), 2 deletions(-) diff --git a/Admin/Activate.php b/Admin/Activate.php index 2576883..b684a85 100644 --- a/Admin/Activate.php +++ b/Admin/Activate.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Deactivate.php b/Admin/Deactivate.php index eba53de..8aa12a5 100644 --- a/Admin/Deactivate.php +++ b/Admin/Deactivate.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Admin; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 63abfe1..d89ff7a 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Admin\Install; use phpOMS\DataStorage\Database\DatabasePool; diff --git a/Admin/Installer.php b/Admin/Installer.php index 45fb23c..31f59ee 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Admin; use phpOMS\DataStorage\Database\DatabaseType; diff --git a/Admin/Uninstall.php b/Admin/Uninstall.php index 7554d37..eb00444 100644 --- a/Admin/Uninstall.php +++ b/Admin/Uninstall.php @@ -13,9 +13,9 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Admin; - use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\DataStorage\Database\Schema\Builder; use phpOMS\Module\UninstallAbstract; diff --git a/Admin/Update.php b/Admin/Update.php index a74800b..4e6126e 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -13,9 +13,9 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Admin; - use phpOMS\DataStorage\Database\DatabasePool; use phpOMS\Module\UpdateAbstract; use phpOMS\System\File\Directory; diff --git a/Controller.php b/Controller.php index f748b68..828e6d3 100644 --- a/Controller.php +++ b/Controller.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting; use Modules\Navigation\Models\Navigation; diff --git a/Models/AccountAbstract.php b/Models/AccountAbstract.php index 258bf21..0d2bfe7 100644 --- a/Models/AccountAbstract.php +++ b/Models/AccountAbstract.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; diff --git a/Models/AccountBalance.php b/Models/AccountBalance.php index d5e81a4..fdb7de0 100644 --- a/Models/AccountBalance.php +++ b/Models/AccountBalance.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; /** diff --git a/Models/AccountInterface.php b/Models/AccountInterface.php index 3151967..1ed0f5e 100644 --- a/Models/AccountInterface.php +++ b/Models/AccountInterface.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; /** diff --git a/Models/AccountType.php b/Models/AccountType.php index 4de4f94..4cb9cbf 100644 --- a/Models/AccountType.php +++ b/Models/AccountType.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Datatypes\Enum; diff --git a/Models/Balance.php b/Models/Balance.php index 6a9ab0b..15acf36 100644 --- a/Models/Balance.php +++ b/Models/Balance.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; diff --git a/Models/BatchPosting.php b/Models/BatchPosting.php index 7539812..2ebd858 100644 --- a/Models/BatchPosting.php +++ b/Models/BatchPosting.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; diff --git a/Models/Creditor.php b/Models/Creditor.php index 82c4212..93f64f1 100644 --- a/Models/Creditor.php +++ b/Models/Creditor.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; diff --git a/Models/CreditorAccount.php b/Models/CreditorAccount.php index e0e7b24..a6affd7 100644 --- a/Models/CreditorAccount.php +++ b/Models/CreditorAccount.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use Modules\Accounting\Models\PersonalAccount; diff --git a/Models/Debitor.php b/Models/Debitor.php index 6f9b861..c3cdc7a 100644 --- a/Models/Debitor.php +++ b/Models/Debitor.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; diff --git a/Models/DebitorAccount.php b/Models/DebitorAccount.php index 2a3d0d6..cd837fa 100644 --- a/Models/DebitorAccount.php +++ b/Models/DebitorAccount.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use Modules\Accounting\Models\PersonalAccount; diff --git a/Models/EntryInterface.php b/Models/EntryInterface.php index adfd0f1..b62ee1b 100644 --- a/Models/EntryInterface.php +++ b/Models/EntryInterface.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; /** diff --git a/Models/ImpersonalAccount.php b/Models/ImpersonalAccount.php index fce1d47..b74ade8 100644 --- a/Models/ImpersonalAccount.php +++ b/Models/ImpersonalAccount.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; diff --git a/Models/IncomeStatement.php b/Models/IncomeStatement.php index 95e8b56..1736dc5 100644 --- a/Models/IncomeStatement.php +++ b/Models/IncomeStatement.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; diff --git a/Models/InvoicePosting.php b/Models/InvoicePosting.php index b8b11c3..9b85c9d 100644 --- a/Models/InvoicePosting.php +++ b/Models/InvoicePosting.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; diff --git a/Models/InvoicePostingSimple.php b/Models/InvoicePostingSimple.php index a0fea13..7bc5cfa 100644 --- a/Models/InvoicePostingSimple.php +++ b/Models/InvoicePostingSimple.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; diff --git a/Models/PersonalAccountAbstract.php b/Models/PersonalAccountAbstract.php index 98de5a7..5f05918 100644 --- a/Models/PersonalAccountAbstract.php +++ b/Models/PersonalAccountAbstract.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; diff --git a/Models/Posting.php b/Models/Posting.php index 635b9a0..75a7592 100644 --- a/Models/Posting.php +++ b/Models/Posting.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; diff --git a/Models/PostingAbstract.php b/Models/PostingAbstract.php index f4c1cff..bf05ccc 100644 --- a/Models/PostingAbstract.php +++ b/Models/PostingAbstract.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; diff --git a/Models/PostingInterface.php b/Models/PostingInterface.php index 92e79e0..45be928 100644 --- a/Models/PostingInterface.php +++ b/Models/PostingInterface.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Utils\IO\ExchangeInterface; diff --git a/Models/TimeRangeType.php b/Models/TimeRangeType.php index 6d4d7a3..dab356a 100644 --- a/Models/TimeRangeType.php +++ b/Models/TimeRangeType.php @@ -13,6 +13,7 @@ * @version 1.0.0 * @link http://orange-management.com */ +declare(strict_types=1); namespace Modules\Accounting\Models; use phpOMS\Datatypes\Enum;