Skip to content

Commit 6b2f7af

Browse files
MAGETWO-90564: [Indexer optimizations] Catalog Rule indexer matching mechanism optimization
1 parent 2e4beb0 commit 6b2f7af

File tree

10 files changed

+14
-0
lines changed

10 files changed

+14
-0
lines changed

app/code/Magento/Catalog/Test/Unit/Model/Api/SearchCriteria/CollectionProcessor/ConditionProcessor/ConditionBuilder/FactoryTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Catalog\Test\Unit\Model\Api\SearchCriteria\CollectionProcessor\ConditionProcessor\ConditionBuilder;
79

810
use Magento\Eav\Model\Config as EavConfig;

app/code/Magento/CatalogRule/Test/Unit/Model/Rule/Condition/MappableConditionProcessorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\CatalogRule\Test\Unit\Model\Rule\Condition;
79

810
use Magento\Eav\Model\Config as EavConfig;

dev/tests/integration/testsuite/Magento/CatalogRule/Model/ResourceModel/Product/ConditionsToCollectionApplierTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\CatalogRule\Model\ResourceModel\Product;
79

810
use Magento\TestFramework\Helper\Bootstrap;

dev/tests/integration/testsuite/Magento/CatalogRule/_files/conditions_to_collection/attribute_sets.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
89
$attributeSetFactory = $objectManager->get(\Magento\Eav\Api\Data\AttributeSetInterfaceFactory::class);

dev/tests/integration/testsuite/Magento/CatalogRule/_files/conditions_to_collection/attribute_sets_rollback.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
89
/** @var \Magento\Eav\Model\Entity\Attribute\Set $attributeSet */

dev/tests/integration/testsuite/Magento/CatalogRule/_files/conditions_to_collection/categories.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
89

dev/tests/integration/testsuite/Magento/CatalogRule/_files/conditions_to_collection/categories_rollback.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
89

dev/tests/integration/testsuite/Magento/CatalogRule/_files/conditions_to_collection/products.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
89

dev/tests/integration/testsuite/Magento/CatalogRule/_files/conditions_to_collection/products_rollback.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
89

lib/internal/Magento/Framework/Api/Test/Unit/SearchCriteria/CollectionProcessor/ConditionProcessor/CustomConditionProviderTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Framework\Api\Test\Unit\SearchCriteria\CollectionProcessor\ConditionProcessor;
79

810
use Magento\Framework\Api\SearchCriteria\CollectionProcessor\ConditionProcessor\CustomConditionProvider;

0 commit comments

Comments
 (0)