Skip to content

Commit 57067de

Browse files
Merge pull request #6691 from magento-cia/2.3.7-develop-2.3-develop-sync-030921
Sync of 2.3.7-develop with 2.3-develop
2 parents 45bf71a + 7e9592b commit 57067de

File tree

3,611 files changed

+1426
-249483
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,611 files changed

+1426
-249483
lines changed

.php_cs.dist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010

1111
$finder = PhpCsFixer\Finder::create()
1212
->name('*.phtml')
13-
->exclude('dev/tests/functional/generated')
14-
->exclude('dev/tests/functional/var')
15-
->exclude('dev/tests/functional/vendor')
1613
->exclude('dev/tests/integration/tmp')
1714
->exclude('dev/tests/integration/var')
1815
->exclude('lib/internal/Cm')

app/code/Magento/Analytics/Test/Mftf/Data/UserRoleData.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@
149149
<item>Magento_Backend::custom</item>
150150
<item>Magento_Backend::tools</item>
151151
<item>Magento_Backend::cache</item>
152-
<item>Magento_Backend::setup_wizard</item>
153152
<item>Magento_Backup::backup</item>
154153
<item>Magento_Backup::rollback</item>
155154
<item>Magento_Indexer::index</item>

app/code/Magento/Backend/etc/acl.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
<resource id="Magento_Backend::flush_static_files" title="Flush Static Files" translate="title" sortOrder="30" />
5454
</resource>
5555
</resource>
56-
<resource id="Magento_Backend::setup_wizard" title="Web Setup Wizard (Deprecated)" translate="title" sortOrder="20" />
5756
</resource>
5857
<resource id="Magento_Backend::system_other_settings" title="Other Settings" translate="title" sortOrder="80" />
5958
</resource>

app/code/Magento/Backend/etc/adminhtml/menu.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,5 @@
2727
<add id="Magento_Backend::stores_attributes" title="Attributes" translate="title" module="Magento_Backend" sortOrder="40" parent="Magento_Backend::stores" resource="Magento_Backend::stores_attributes"/>
2828
<add id="Magento_Backend::other_settings" title="Other Settings" translate="title" module="Magento_Backend" sortOrder="50" parent="Magento_Backend::stores" resource="Magento_Backend::stores_other_settings"/>
2929
<add id="Magento_Backend::system_other_settings" title="Other Settings" translate="title" module="Magento_Backend" sortOrder="80" parent="Magento_Backend::system" resource="Magento_Backend::system_other_settings"/>
30-
<add id="Magento_Backend::setup_wizard" action="adminhtml/backendapp/redirect/app/setup" title="Web Setup Wizard (Deprecated)" translate="title" module="Magento_Backend" sortOrder="80" parent="Magento_Backend::system_tools" resource="Magento_Backend::setup_wizard"/>
3130
</menu>
3231
</config>

app/code/Magento/Backend/i18n/en_US.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ Attributes,Attributes
312312
"Connect Manager","Connect Manager"
313313
"Package Extensions","Package Extensions"
314314
Tools,Tools
315-
"Web Setup Wizard (Deprecated)","Web Setup Wizard (Deprecated)"
316315
Currency,Currency
317316
Communications,Communications
318317
Services,Services

app/code/Magento/Captcha/Test/Unit/Model/Filter/QuoteDataConfigFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class QuoteDataConfigFilterTest extends TestCase
3030
/**
3131
* Initialize Class Dependencies
3232
*/
33-
protected function setUp()
33+
protected function setUp(): void
3434
{
3535
$this->objectManager = new ObjectManager($this);
3636

app/code/Magento/Cms/Test/Unit/Model/Wysiwyg/Images/StorageTest.php

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Magento\Cms\Model\Wysiwyg\Images\Storage\Collection as StorageCollection;
99
use Magento\Framework\App\Filesystem\DirectoryList;
10+
use Magento\Framework\DataObject;
1011

1112
/**
1213
* @SuppressWarnings(PHPMD.LongVariable)
@@ -166,11 +167,9 @@ protected function setUp(): void
166167
)->method(
167168
'getPathInfo'
168169
)->willReturnCallback(
169-
170-
function ($path) {
171-
return pathinfo($path);
172-
}
173-
170+
function ($path) {
171+
return pathinfo($path);
172+
}
174173
);
175174

176175
$this->adapterFactoryMock = $this->createMock(\Magento\Framework\Image\AdapterFactory::class);
@@ -359,7 +358,10 @@ public function testGetDirsCollection($exclude, $include, $fileNames, $expectedR
359358
$collection = [];
360359
foreach ($fileNames as $filename) {
361360
/** @var \Magento\Framework\DataObject|\PHPUnit\Framework\MockObject\MockObject $objectMock */
362-
$objectMock = $this->createPartialMock(\Magento\Framework\DataObject::class, ['getFilename']);
361+
$objectMock = $this->getMockBuilder(DataObject::class)
362+
->addMethods(['getFilename'])
363+
->disableOriginalConstructor()
364+
->getMock();
363365
$objectMock->expects($this->any())
364366
->method('getFilename')
365367
->willReturn(self::STORAGE_ROOT_DIR . $filename);
@@ -539,10 +541,14 @@ public function testUploadFile()
539541
}
540542

541543
/**
542-
* @expectedException \Magento\Framework\Exception\LocalizedException
544+
*
543545
*/
544546
public function testUploadFileWithExcessivePath()
545547
{
548+
$this->expectException(
549+
\Magento\Framework\Exception\LocalizedException::class
550+
);
551+
546552
$path = 'target/path';
547553
$targetPath = self::STORAGE_ROOT_DIR .str_repeat('a', 255) . $path;
548554
$type = 'image';

app/code/Magento/Cron/etc/di.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,6 @@
6868
<item name="command" xsi:type="string">{magentoRoot}bin/magento cron:run | grep -v "Ran jobs by schedule" >> {magentoLog}magento.cron.log</item>
6969
<item name="optional" xsi:type="boolean">false</item>
7070
</item>
71-
<item name="cronUpdate" xsi:type="array">
72-
<item name="command" xsi:type="string">{magentoRoot}update/cron.php >> {magentoLog}update.cron.log</item>
73-
<item name="optional" xsi:type="boolean">true</item>
74-
</item>
75-
<item name="cronSetup" xsi:type="array">
76-
<item name="command" xsi:type="string">{magentoRoot}bin/magento setup:cron:run >> {magentoLog}setup.cron.log</item>
77-
<item name="optional" xsi:type="boolean">true</item>
78-
</item>
7971
</argument>
8072
</arguments>
8173
</type>

app/code/Magento/Customer/Api/Data/CustomerInterface.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
namespace Magento\Customer\Api\Data;
77

88
/**
9-
* Customer interface.
9+
* Customer entity interface for API handling.
10+
*
1011
* @api
1112
* @since 100.0.2
1213
*/
@@ -161,7 +162,10 @@ public function setCreatedIn($createdIn);
161162
/**
162163
* Get date of birth
163164
*
164-
* @return string|null
165+
* @return string|null In keeping with current security and privacy best practices, be sure you are aware of any
166+
* potential legal and security risks associated with the storage of customers’ full date of birth
167+
* (month, day, year) along with other personal identifiers (e.g., full name) before collecting or processing
168+
* such data.
165169
*/
166170
public function getDob();
167171

app/code/Magento/Customer/Test/Mftf/Section/AdminDeleteUserSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<section name="AdminDeleteUserSection">
1212
<element name="theUser" selector="//td[contains(text(), 'John')]" type="button"/>
1313
<element name="password" selector="#user_current_password" type="input"/>
14-
<element name="delete" selector="//button/span[contains(text(), 'Delete User')]" type="button"/>
14+
<element name="delete" selector=".page-actions-buttons #delete" type="button"/>
1515
<element name="confirm" selector="//*[@class='action-primary action-accept']" type="button"/>
1616
</section>
1717
</sections>

0 commit comments

Comments
 (0)