Skip to content

Commit 64430ad

Browse files
committed
Merge remote-tracking branch 'origin/2.4-develop-php74' into phpunit9/all-in-one
# Conflicts: # app/code/Magento/Catalog/Test/Unit/Model/Product/CopierTest.php # app/code/Magento/Catalog/Test/Unit/Model/ProductRepositoryTest.php # app/code/Magento/Cms/Test/Unit/Ui/Component/Listing/Column/BlockActionsTest.php # app/code/Magento/Cms/Test/Unit/Ui/Component/Listing/Column/PageActionsTest.php # app/code/Magento/Config/Test/Unit/Model/Config/Source/Email/TemplateTest.php # app/code/Magento/ConfigurableProduct/Test/Unit/Model/LinkManagementTest.php # app/code/Magento/Customer/Test/Unit/Model/Customer/DataProviderTest.php # app/code/Magento/Customer/Test/Unit/Model/EmailNotificationTest.php # app/code/Magento/Customer/Test/Unit/Ui/Component/ColumnFactoryTest.php # app/code/Magento/Customer/Test/Unit/Ui/Component/FilterFactoryTest.php # app/code/Magento/Customer/Test/Unit/Ui/Component/Listing/Column/ActionsTest.php # app/code/Magento/MediaGallery/Test/Unit/Model/Asset/Command/SaveTest.php # app/code/Magento/Theme/Test/Unit/Ui/Component/Listing/Column/EditActionTest.php # app/code/Magento/Tinymce3/composer.json # composer.lock # dev/tests/integration/testsuite/Magento/Customer/Model/CustomerRegistryTest.php # dev/tests/integration/testsuite/Magento/Review/Controller/Adminhtml/Customer/ProductReviewsTest.php # dev/tests/integration/testsuite/Magento/Sales/Block/Order/Creditmemo/ItemsTest.php # dev/tests/integration/testsuite/Magento/Sales/Block/Order/Invoice/ItemsTest.php # dev/tests/integration/testsuite/Magento/Sales/Block/Order/ItemsTest.php
2 parents 2b5f755 + f70f71c commit 64430ad

File tree

38 files changed

+74
-87
lines changed

38 files changed

+74
-87
lines changed

app/code/Magento/MediaContent/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-media-content",
33
"description": "Magento module provides the implementation for managing relations between content and media files used in that content",
44
"require": {
5-
"php": "~7.1.3||~7.2.0||~7.3.0",
5+
"php": "~7.3.0||~7.4.0",
66
"magento/framework": "*",
77
"magento/module-media-content-api": "*",
88
"magento/module-media-gallery-api": "*"

app/code/Magento/MediaContentApi/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-media-content-api",
33
"description": "Magento module provides the API interfaces for managing relations between content and media files used in that content",
44
"require": {
5-
"php": "~7.1.3||~7.2.0||~7.3.0",
5+
"php": "~7.3.0||~7.4.0",
66
"magento/module-media-gallery-api": "*",
77
"magento/framework": "*"
88
},

app/code/Magento/MediaContentCatalog/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-media-content-catalog",
33
"description": "Magento module provides the implementation of MediaContent functionality for Magento_Catalog module",
44
"require": {
5-
"php": "~7.1.3||~7.2.0||~7.3.0",
5+
"php": "~7.3.0||~7.4.0",
66
"magento/module-media-content-api": "*",
77
"magento/module-catalog": "*",
88
"magento/framework": "*"

app/code/Magento/MediaContentCms/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-media-content-cms",
33
"description": "Magento module provides the implementation of MediaContent functionality for Magento_Cms module",
44
"require": {
5-
"php": "~7.1.3||~7.2.0||~7.3.0",
5+
"php": "~7.3.0||~7.4.0",
66
"magento/module-media-content-api": "*",
77
"magento/module-cms": "*",
88
"magento/framework": "*"

app/code/Magento/MediaGallery/Test/Unit/Model/Directory/IsBlacklistedTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected function setUp(): void
3535
{
3636
$this->config = $this->getMockBuilder(BlacklistPatternsConfigInterface::class)
3737
->disableOriginalConstructor()
38-
->getMock();
38+
->getMockForAbstractClass();
3939
$this->config->expects($this->at(0))->method('get')->willReturn([
4040
'tmp' => '/pub\/media\/tmp/',
4141
'captcha' => '/pub\/media\/captcha/'

app/code/Magento/MediaGalleryCatalog/Test/Unit/Plugin/Product/Gallery/RemoveAssetAfterRemoveImageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ protected function setUp(): void
5656
$this->processorSubjectMock = $this->createMock(ProcessorSubject::class);
5757
$this->productMock = $this->createMock(Product::class);
5858

59-
$this->deleteMediaAssetByPathMock = $this->createMock(DeleteAssetsByPathsInterface::class);
60-
$this->loggerMock = $this->createMock(LoggerInterface::class);
59+
$this->deleteMediaAssetByPathMock = $this->getMockForAbstractClass(DeleteAssetsByPathsInterface::class);
60+
$this->loggerMock = $this->getMockForAbstractClass(LoggerInterface::class);
6161

6262
$this->plugin = (new ObjectManagerHelper($this))->getObject(
6363
RemoveAssetAfterRemoveImage::class,

app/code/Magento/MediaGalleryCatalog/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "magento/module-media-gallery-catalog",
33
"description": "Magento module responsible for catalog gallery processor delete operation handling",
44
"require": {
5-
"php": "~7.1.3||~7.2.0||~7.3.0",
5+
"php": "~7.3.0||~7.4.0",
66
"magento/framework": "*",
77
"magento/module-media-gallery-api": "*",
88
"magento/module-catalog": "*"

app/code/Magento/Tinymce3/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"magento/module-backend": "*",
88
"magento/module-ui": "*",
99
"magento/module-variable": "*",
10-
"magento/module-widget": "*",
11-
"magento/module-cms": "*"
10+
"magento/module-widget": "*"
1211
},
1312
"suggest": {
1413
"magento/module-cms": "*"

composer.lock

Lines changed: 16 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Event/TransactionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ protected function _imitateTransactionStartRequest($eventName)
6969
/**
7070
* Setup expectations for "transaction start" use case
7171
*
72-
* @param \PHPUnit\Framework\MockObject\Matcher\Invocation $invocationMatcher
72+
* @param \PHPUnit\Framework\MockObject\Rule\InvocationOrder $invocationMatcher
7373
*/
74-
protected function _expectTransactionStart(\PHPUnit\Framework\MockObject\Matcher\Invocation $invocationMatcher)
74+
protected function _expectTransactionStart(\PHPUnit\Framework\MockObject\Rule\InvocationOrder $invocationMatcher)
7575
{
7676
$this->_eventManager->expects($invocationMatcher)->method('fireEvent')->with('startTransaction');
7777
$this->_adapter->expects($this->once())->method('beginTransaction');
@@ -103,9 +103,9 @@ protected function _imitateTransactionRollbackRequest($eventName)
103103
/**
104104
* Setup expectations for "transaction rollback" use case
105105
*
106-
* @param \PHPUnit\Framework\MockObject\Matcher\Invocation $invocationMatcher
106+
* @param \PHPUnit\Framework\MockObject\Rule\InvocationOrder $invocationMatcher
107107
*/
108-
protected function _expectTransactionRollback(\PHPUnit\Framework\MockObject\Matcher\Invocation $invocationMatcher)
108+
protected function _expectTransactionRollback(\PHPUnit\Framework\MockObject\Rule\InvocationOrder $invocationMatcher)
109109
{
110110
$this->_eventManager->expects($invocationMatcher)->method('fireEvent')->with('rollbackTransaction');
111111
$this->_adapter->expects($this->once())->method('rollback');

0 commit comments

Comments
 (0)