Skip to content

Commit 3d2e6e5

Browse files
authored
Merge pull request #57 from magento-gl/phpunit10
[Arrows] Delivery of PHPUnit 10 Upgrade
2 parents de42815 + 0e31b83 commit 3d2e6e5

23 files changed

+287
-397
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"require-dev": {
2222
"ext-dom": "*",
23-
"phpunit/phpunit": "~9.5.8",
23+
"phpunit/phpunit": "^10.5",
2424
"squizlabs/php_codesniffer": "~3.6.0"
2525
},
2626
"autoload": {

composer.lock

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

dev/tests/Unit/ClassHierarchy/EntityTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ public function testIsTrait(string $type, bool $expected)
488488
*
489489
* @return array
490490
*/
491-
public function dataProviderIsClass()
491+
public static function dataProviderIsClass()
492492
{
493493
return [
494494
'entity-is-class-returns-true' => [
@@ -511,7 +511,7 @@ public function dataProviderIsClass()
511511
*
512512
* @return array
513513
*/
514-
public function dataProviderIsInterface()
514+
public static function dataProviderIsInterface()
515515
{
516516
return [
517517
'entity-is-class-returns-false' => [
@@ -534,7 +534,7 @@ public function dataProviderIsInterface()
534534
*
535535
* @return array
536536
*/
537-
public function dataProviderIsTrait()
537+
public static function dataProviderIsTrait()
538538
{
539539
return [
540540
'entity-is-class-returns-false' => [

dev/tests/Unit/Console/Command/CompareSourceCommandApiClassesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testExecute(
4242
);
4343
}
4444

45-
public function changesDataProvider()
45+
public static function changesDataProvider()
4646
{
4747
$pathToFixtures = __DIR__ . '/CompareSourceCommandTest/_files/api-class';
4848
return [

dev/tests/Unit/Console/Command/CompareSourceCommandApiInterfacesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testExecute(
4242
);
4343
}
4444

45-
public function changesDataProvider()
45+
public static function changesDataProvider()
4646
{
4747
$pathToFixtures = __DIR__ . '/CompareSourceCommandTest/_files/api-interface';
4848
return [

dev/tests/Unit/Console/Command/CompareSourceCommandApiTraitsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function testExecute(
4444
);
4545
}
4646

47-
public function changesDataProvider()
47+
public static function changesDataProvider()
4848
{
4949
$pathToFixtures = __DIR__ . '/CompareSourceCommandTest/_files/api-trait';
5050

dev/tests/Unit/Console/Command/CompareSourceCommandDatabaseSchemasTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function testExecute(
4848
/**
4949
* @return array
5050
*/
51-
public function changesDataProvider()
51+
public static function changesDataProvider()
5252
{
5353
$pathToFixtures = __DIR__ . '/CompareSourceCommandTest/_files/db_schema';
5454
return [

dev/tests/Unit/Console/Command/CompareSourceCommandDiXmlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testExecute(
4242
);
4343
}
4444

45-
public function changesDataProvider()
45+
public static function changesDataProvider()
4646
{
4747
$pathToFixtures = __DIR__ . '/CompareSourceCommandTest/_files/di_xml';
4848

dev/tests/Unit/Console/Command/CompareSourceCommandLayoutTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testExecute(
4242
);
4343
}
4444

45-
public function changesDataProvider()
45+
public static function changesDataProvider()
4646
{
4747
$pathToFixtures = __DIR__ . '/CompareSourceCommandTest/_files/layout_xml';
4848
getcwd();

dev/tests/Unit/Console/Command/CompareSourceCommandLessTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function testExecute(
4242
);
4343
}
4444

45-
public function changesDataProvider()
45+
public static function changesDataProvider()
4646
{
4747
$pathToFixtures = __DIR__ . '/CompareSourceCommandTest/_files/less';
4848

0 commit comments

Comments
 (0)