From de90684416fd559ab4044cba579ed3bf8aabd94b Mon Sep 17 00:00:00 2001 From: Volodymyr Kublytskyi Date: Thu, 29 Mar 2018 12:33:33 +0300 Subject: [PATCH] Added strict type declaration to files add in MSI scope --- app/code/Magento/Cron/Setup/Recurring.php | 1 + .../Magento/Customer/Test/Unit/Controller/Section/LoadTest.php | 2 ++ app/code/Magento/Sales/Test/Unit/Block/Order/TotalsTest.php | 2 ++ app/code/Magento/Ui/Model/UrlInput/ConfigInterface.php | 1 + .../Ups/Test/Unit/Model/CarrierCollectRatesOptionsTest.php | 2 ++ .../Webapi/Controller/Rest/RequestProcessorInterface.php | 1 + .../Magento/Webapi/Controller/Rest/RequestProcessorPool.php | 1 + .../Magento/Webapi/Controller/Rest/SchemaRequestProcessor.php | 1 + .../Webapi/Controller/Rest/SynchronousRequestProcessor.php | 1 + 9 files changed, 12 insertions(+) diff --git a/app/code/Magento/Cron/Setup/Recurring.php b/app/code/Magento/Cron/Setup/Recurring.php index 38c9122783bd9..e45524c174afe 100644 --- a/app/code/Magento/Cron/Setup/Recurring.php +++ b/app/code/Magento/Cron/Setup/Recurring.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Cron\Setup; diff --git a/app/code/Magento/Customer/Test/Unit/Controller/Section/LoadTest.php b/app/code/Magento/Customer/Test/Unit/Controller/Section/LoadTest.php index 2552beeca463d..3e9089c473212 100644 --- a/app/code/Magento/Customer/Test/Unit/Controller/Section/LoadTest.php +++ b/app/code/Magento/Customer/Test/Unit/Controller/Section/LoadTest.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Customer\Test\Unit\Controller\Section; use Magento\Customer\Controller\Section\Load; diff --git a/app/code/Magento/Sales/Test/Unit/Block/Order/TotalsTest.php b/app/code/Magento/Sales/Test/Unit/Block/Order/TotalsTest.php index 7ad21f26a8bea..a8ce2ad4ff034 100644 --- a/app/code/Magento/Sales/Test/Unit/Block/Order/TotalsTest.php +++ b/app/code/Magento/Sales/Test/Unit/Block/Order/TotalsTest.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Sales\Test\Unit\Block\Order; use Magento\Framework\Registry; diff --git a/app/code/Magento/Ui/Model/UrlInput/ConfigInterface.php b/app/code/Magento/Ui/Model/UrlInput/ConfigInterface.php index cf48173b5b3de..b7254b5ff342c 100644 --- a/app/code/Magento/Ui/Model/UrlInput/ConfigInterface.php +++ b/app/code/Magento/Ui/Model/UrlInput/ConfigInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Ui\Model\UrlInput; diff --git a/app/code/Magento/Ups/Test/Unit/Model/CarrierCollectRatesOptionsTest.php b/app/code/Magento/Ups/Test/Unit/Model/CarrierCollectRatesOptionsTest.php index e5bf27b154a8c..854f14f1b48bc 100644 --- a/app/code/Magento/Ups/Test/Unit/Model/CarrierCollectRatesOptionsTest.php +++ b/app/code/Magento/Ups/Test/Unit/Model/CarrierCollectRatesOptionsTest.php @@ -3,6 +3,8 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); + namespace Magento\Ups\Test\Unit\Model; use PHPUnit_Framework_MockObject_MockObject as MockObject; diff --git a/app/code/Magento/Webapi/Controller/Rest/RequestProcessorInterface.php b/app/code/Magento/Webapi/Controller/Rest/RequestProcessorInterface.php index 43564bba00df8..f4340c18e2134 100644 --- a/app/code/Magento/Webapi/Controller/Rest/RequestProcessorInterface.php +++ b/app/code/Magento/Webapi/Controller/Rest/RequestProcessorInterface.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Webapi\Controller\Rest; diff --git a/app/code/Magento/Webapi/Controller/Rest/RequestProcessorPool.php b/app/code/Magento/Webapi/Controller/Rest/RequestProcessorPool.php index a4530021788c5..3fc7dd6f5c865 100644 --- a/app/code/Magento/Webapi/Controller/Rest/RequestProcessorPool.php +++ b/app/code/Magento/Webapi/Controller/Rest/RequestProcessorPool.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Webapi\Controller\Rest; diff --git a/app/code/Magento/Webapi/Controller/Rest/SchemaRequestProcessor.php b/app/code/Magento/Webapi/Controller/Rest/SchemaRequestProcessor.php index f1b6237d090f2..0f1587c342fa7 100644 --- a/app/code/Magento/Webapi/Controller/Rest/SchemaRequestProcessor.php +++ b/app/code/Magento/Webapi/Controller/Rest/SchemaRequestProcessor.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Webapi\Controller\Rest; diff --git a/app/code/Magento/Webapi/Controller/Rest/SynchronousRequestProcessor.php b/app/code/Magento/Webapi/Controller/Rest/SynchronousRequestProcessor.php index 2495f4bb1c168..e2dcbb5a40237 100644 --- a/app/code/Magento/Webapi/Controller/Rest/SynchronousRequestProcessor.php +++ b/app/code/Magento/Webapi/Controller/Rest/SynchronousRequestProcessor.php @@ -3,6 +3,7 @@ * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ +declare(strict_types=1); namespace Magento\Webapi\Controller\Rest;