From cc9b595cca2ee2a11d2791efd1f331086fc4b555 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Tue, 20 Apr 2021 09:57:44 +0200 Subject: [PATCH] set strict types --- src/Application/Controller/Admin/d3ExportWizard.php | 2 ++ src/Application/Model/Configuration.php | 2 ++ src/Application/Model/Exceptions/DataWizardException.php | 2 ++ src/Application/Model/Exceptions/DebugException.php | 2 ++ .../Model/Exceptions/NoSuitableRendererException.php | 2 ++ src/Application/Model/Exceptions/RenderException.php | 2 ++ src/Application/Model/Exceptions/TaskException.php | 2 ++ src/Application/Model/ExportBase.php | 2 ++ src/Application/Model/ExportRenderer/Csv.php | 2 ++ src/Application/Model/ExportRenderer/Pretty.php | 2 ++ src/Application/Model/ExportRenderer/RendererBridge.php | 2 ++ src/Application/Model/ExportRenderer/RendererInterface.php | 2 ++ src/Application/Model/QueryBase.php | 2 ++ src/Application/views/admin/de/d3DataWizard_lang.php | 2 ++ src/metadata.php | 2 ++ 15 files changed, 30 insertions(+) diff --git a/src/Application/Controller/Admin/d3ExportWizard.php b/src/Application/Controller/Admin/d3ExportWizard.php index 889293d..ee9f79c 100644 --- a/src/Application/Controller/Admin/d3ExportWizard.php +++ b/src/Application/Controller/Admin/d3ExportWizard.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Controller\Admin; use D3\DataWizard\Application\Model\Configuration; diff --git a/src/Application/Model/Configuration.php b/src/Application/Model/Configuration.php index 6cca460..221e3f3 100644 --- a/src/Application/Model/Configuration.php +++ b/src/Application/Model/Configuration.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model; class Configuration diff --git a/src/Application/Model/Exceptions/DataWizardException.php b/src/Application/Model/Exceptions/DataWizardException.php index 4de082e..854be2f 100644 --- a/src/Application/Model/Exceptions/DataWizardException.php +++ b/src/Application/Model/Exceptions/DataWizardException.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\Exceptions; interface DataWizardException diff --git a/src/Application/Model/Exceptions/DebugException.php b/src/Application/Model/Exceptions/DebugException.php index 2dad06b..9c12be1 100644 --- a/src/Application/Model/Exceptions/DebugException.php +++ b/src/Application/Model/Exceptions/DebugException.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\Exceptions; use Exception; diff --git a/src/Application/Model/Exceptions/NoSuitableRendererException.php b/src/Application/Model/Exceptions/NoSuitableRendererException.php index c2fe840..9b96dcb 100644 --- a/src/Application/Model/Exceptions/NoSuitableRendererException.php +++ b/src/Application/Model/Exceptions/NoSuitableRendererException.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\Exceptions; use Exception; diff --git a/src/Application/Model/Exceptions/RenderException.php b/src/Application/Model/Exceptions/RenderException.php index 2b380a8..898d553 100644 --- a/src/Application/Model/Exceptions/RenderException.php +++ b/src/Application/Model/Exceptions/RenderException.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\Exceptions; use OxidEsales\Eshop\Core\Exception\StandardException; diff --git a/src/Application/Model/Exceptions/TaskException.php b/src/Application/Model/Exceptions/TaskException.php index 0b2929d..8c42b15 100644 --- a/src/Application/Model/Exceptions/TaskException.php +++ b/src/Application/Model/Exceptions/TaskException.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\Exceptions; use D3\DataWizard\Application\Model\QueryBase; diff --git a/src/Application/Model/ExportBase.php b/src/Application/Model/ExportBase.php index 113087d..1ced54f 100644 --- a/src/Application/Model/ExportBase.php +++ b/src/Application/Model/ExportBase.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model; use D3\DataWizard\Application\Model\ExportRenderer\RendererBridge; diff --git a/src/Application/Model/ExportRenderer/Csv.php b/src/Application/Model/ExportRenderer/Csv.php index 2327790..ab1be57 100644 --- a/src/Application/Model/ExportRenderer/Csv.php +++ b/src/Application/Model/ExportRenderer/Csv.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\ExportRenderer; use D3\DataWizard\Application\Model\Exceptions\RenderException; diff --git a/src/Application/Model/ExportRenderer/Pretty.php b/src/Application/Model/ExportRenderer/Pretty.php index 16aa8eb..78a9ab3 100644 --- a/src/Application/Model/ExportRenderer/Pretty.php +++ b/src/Application/Model/ExportRenderer/Pretty.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\ExportRenderer; use MathieuViossat\Util\ArrayToTextTable; diff --git a/src/Application/Model/ExportRenderer/RendererBridge.php b/src/Application/Model/ExportRenderer/RendererBridge.php index 53dde27..7a700c7 100644 --- a/src/Application/Model/ExportRenderer/RendererBridge.php +++ b/src/Application/Model/ExportRenderer/RendererBridge.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\ExportRenderer; use D3\DataWizard\Application\Model\Exceptions\NoSuitableRendererException; diff --git a/src/Application/Model/ExportRenderer/RendererInterface.php b/src/Application/Model/ExportRenderer/RendererInterface.php index 271711e..5de4011 100644 --- a/src/Application/Model/ExportRenderer/RendererInterface.php +++ b/src/Application/Model/ExportRenderer/RendererInterface.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model\ExportRenderer; interface RendererInterface diff --git a/src/Application/Model/QueryBase.php b/src/Application/Model/QueryBase.php index b455a62..a2d01a8 100644 --- a/src/Application/Model/QueryBase.php +++ b/src/Application/Model/QueryBase.php @@ -13,6 +13,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + namespace D3\DataWizard\Application\Model; interface QueryBase diff --git a/src/Application/views/admin/de/d3DataWizard_lang.php b/src/Application/views/admin/de/d3DataWizard_lang.php index 0dde784..97d6b6f 100644 --- a/src/Application/views/admin/de/d3DataWizard_lang.php +++ b/src/Application/views/admin/de/d3DataWizard_lang.php @@ -15,6 +15,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + $sLangName = "Deutsch"; // ------------------------------- // RESOURCE IDENTITFIER = STRING diff --git a/src/metadata.php b/src/metadata.php index 9540f2b..965d835 100644 --- a/src/metadata.php +++ b/src/metadata.php @@ -12,6 +12,8 @@ * @link http://www.oxidmodule.com */ +declare(strict_types=1); + /** * Metadata version */