Skip to content

Commit 67b7b54

Browse files
committed
AC-15170:Add official support for Symfony 7.4 LTS in Adobe Commerce 2.4.9
1 parent 444c814 commit 67b7b54

File tree

24 files changed

+58
-58
lines changed

24 files changed

+58
-58
lines changed

app/code/Magento/Catalog/Test/Unit/Pricing/Price/RegularPriceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ protected function setUp(): void
7171
* Test method testGetValue
7272
*
7373
* @param float|bool $price
74-
* @dataProvider testGetValueDataProvider
74+
* @dataProvider getValueDataProvider
7575
*/
7676
public function testGetValue($price)
7777
{
@@ -93,7 +93,7 @@ public function testGetValue($price)
9393
*
9494
* @return array
9595
*/
96-
public static function testGetValueDataProvider()
96+
public static function getValueDataProvider()
9797
{
9898
return [
9999
'With price' => [100.00],

app/code/Magento/Customer/Test/Unit/Ui/Component/Listing/Column/AccountLockTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function setup(): void
4343
/**
4444
* @param string $lockExpirationDate
4545
* @param Phrase $expectedResult
46-
* @dataProvider testPrepareDataSourceDataProvider
46+
* @dataProvider prepareDataSourceDataProvider
4747
*/
4848
public function testPrepareDataSource($lockExpirationDate, $expectedResult)
4949
{
@@ -55,7 +55,7 @@ public function testPrepareDataSource($lockExpirationDate, $expectedResult)
5555
/**
5656
* @return array
5757
*/
58-
public static function testPrepareDataSourceDataProvider()
58+
public static function prepareDataSourceDataProvider()
5959
{
6060
return [
6161
[

app/code/Magento/Fedex/Test/Unit/Plugin/Block/DataProviders/Tracking/ChangeTitleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected function setUp(): void
4242
* @param string $carrierCode
4343
* @param string $originalResult
4444
* @param Phrase|string $finalResult
45-
* @dataProvider testAfterGetTitleDataProvider
45+
* @dataProvider afterGetTitleDataProvider
4646
*/
4747
public function testAfterGetTitle(string $carrierCode, string $originalResult, $finalResult)
4848
{
@@ -70,7 +70,7 @@ public function testAfterGetTitle(string $carrierCode, string $originalResult, $
7070
*
7171
* @return array
7272
*/
73-
public static function testAfterGetTitleDataProvider(): array
73+
public static function afterGetTitleDataProvider(): array
7474
{
7575
return [
7676
[Carrier::CODE, 'Original Title', __('Expected Delivery:')],

app/code/Magento/GraphQl/Test/Unit/Plugin/DisableSessionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function setUp(): void
6363
* @param bool $methodResult
6464
* @param bool $expectedResult
6565
* @return void
66-
* @dataProvider testAfterCheckDataProvider
66+
* @dataProvider afterCheckDataProvider
6767
*/
6868
public function testAfterCheck(string $area, bool $config, bool $methodResult, bool $expectedResult)
6969
{
@@ -77,7 +77,7 @@ public function testAfterCheck(string $area, bool $config, bool $methodResult, b
7777
*
7878
* @return array[]
7979
*/
80-
public static function testAfterCheckDataProvider()
80+
public static function afterCheckDataProvider()
8181
{
8282
return [
8383
['area' => 'graphql', 'config' => true, 'methodResult' => false, 'expectedResult' => false],
@@ -98,7 +98,7 @@ public static function testAfterCheckDataProvider()
9898
* @param bool $methodResult
9999
* @param bool $expectedResult
100100
* @return void
101-
* @dataProvider testAfterCheckDataProviderNoAreaCode
101+
* @dataProvider afterCheckDataProviderNoAreaCode
102102
*/
103103
public function testAfterCheckNoArea(bool $config, bool $methodResult, bool $expectedResult)
104104
{
@@ -114,7 +114,7 @@ public function testAfterCheckNoArea(bool $config, bool $methodResult, bool $exp
114114
*
115115
* @return array[]
116116
*/
117-
public static function testAfterCheckDataProviderNoAreaCode()
117+
public static function afterCheckDataProviderNoAreaCode()
118118
{
119119
return [
120120
['config' => true, 'methodResult' => true, 'expectedResult' => true],

app/code/Magento/Indexer/Test/Unit/Model/ProcessManagerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function () {
208208
}
209209

210210
/**
211-
* @dataProvider testIsMultiThreadsExecuteDataProvider
211+
* @dataProvider isMultiThreadsExecuteDataProvider
212212
* @param $threadsCount
213213
* @param $expectedResult
214214
* @return void
@@ -230,7 +230,7 @@ public function testIsMultiThreadsExecute($threadsCount, $expectedResult): void
230230
$this->assertEquals($expectedResult, $processManager->isMultiThreadsExecute());
231231
}
232232

233-
public static function testIsMultiThreadsExecuteDataProvider(): array
233+
public static function isMultiThreadsExecuteDataProvider(): array
234234
{
235235
return [
236236
'threadsCount is null' => [null, false],

app/code/Magento/Sales/Test/Unit/Controller/Adminhtml/Order/Creditmemo/SaveTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ protected function _setSaveActionExpectationForMageCoreException($data, $errorMe
318318
/**
319319
* @return array
320320
*/
321-
public static function testExecuteEmailsDataProvider()
321+
public static function executeEmailsDataProvider()
322322
{
323323
/**
324324
* string $sendEmail
@@ -337,7 +337,7 @@ public static function testExecuteEmailsDataProvider()
337337
* @param string $sendEmail
338338
* @param bool $emailEnabled
339339
* @param bool $shouldEmailBeSent
340-
* @dataProvider testExecuteEmailsDataProvider
340+
* @dataProvider executeEmailsDataProvider
341341
*/
342342
public function testExecuteEmails(
343343
$sendEmail,

app/code/Magento/Sales/Test/Unit/Controller/Adminhtml/Order/Invoice/SaveTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function testExecuteNotValidPost(): void
196196
/**
197197
* @return array
198198
*/
199-
public static function testExecuteEmailsDataProvider(): array
199+
public static function executeEmailsDataProvider(): array
200200
{
201201
/**
202202
* string $sendEmail
@@ -218,7 +218,7 @@ public static function testExecuteEmailsDataProvider(): array
218218
*
219219
* @return void
220220
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
221-
* @dataProvider testExecuteEmailsDataProvider
221+
* @dataProvider executeEmailsDataProvider
222222
*/
223223
public function testExecuteEmails(
224224
string $sendEmail,

app/code/Magento/Sales/Test/Unit/Ui/Component/Listing/Column/PriceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected function setUp(): void
6969
* @param array $dataSource
7070
* @param string $currencyCode
7171
* @param int|null $expectedStoreId
72-
* @dataProvider testPrepareDataSourceDataProvider
72+
* @dataProvider prepareDataSourceDataProvider
7373
*/
7474
public function testPrepareDataSource(
7575
bool $hasCurrency,
@@ -117,7 +117,7 @@ public function testPrepareDataSource(
117117
*
118118
* @return array
119119
*/
120-
public static function testPrepareDataSourceDataProvider(): array
120+
public static function prepareDataSourceDataProvider(): array
121121
{
122122
$dataSource1 = [
123123
'data' => [

app/code/Magento/Store/Test/Unit/Model/ScopeResolverTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected function setUp(): void
4747
* @param string $requestedScope
4848
* @param int $requestedScopeId
4949
* @param bool $isBelong
50-
* @dataProvider testIsBelongsToScopeDataProvider
50+
* @dataProvider isBelongsToScopeDataProvider
5151
*/
5252
public function testIsBelongsToScope(
5353
string $baseScope,
@@ -72,7 +72,7 @@ public function testIsBelongsToScope(
7272
*
7373
* @return array[]
7474
*/
75-
public static function testIsBelongsToScopeDataProvider()
75+
public static function isBelongsToScopeDataProvider()
7676
{
7777
return [
7878
'All scopes belongs to Default' => [

app/code/Magento/Ups/Test/Unit/Plugin/Block/DataProviders/Tracking/ChangeTitleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function setUp(): void
4343
* @param string $carrierCode
4444
* @param string $originalResult
4545
* @param Phrase|string $finalResult
46-
* @dataProvider testAfterGetTitleDataProvider
46+
* @dataProvider afterGetTitleDataProvider
4747
*/
4848
public function testAfterGetTitle(string $carrierCode, string $originalResult, $finalResult)
4949
{
@@ -71,7 +71,7 @@ public function testAfterGetTitle(string $carrierCode, string $originalResult, $
7171
*
7272
* @return array
7373
*/
74-
public static function testAfterGetTitleDataProvider(): array
74+
public static function afterGetTitleDataProvider(): array
7575
{
7676
return [
7777
[Carrier::CODE, 'Original Title', __('Status Updated On:')],

0 commit comments

Comments
 (0)