File tree 4 files changed +14
-17
lines changed
4 files changed +14
-17
lines changed Original file line number Diff line number Diff line change 13
13
"symfony/console" : " ~4.4.0||~5.4.0||~6.4.0"
14
14
},
15
15
"require-dev" : {
16
- "phpunit/phpunit" : " ^9"
16
+ "phpunit/phpunit" : " ^9 || ^10 "
17
17
},
18
18
"autoload" : {
19
19
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
-
3
2
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : noNamespaceSchemaLocation =" http ://schema.phpunit.de/9.1 /phpunit.xsd"
3
+ xsi : noNamespaceSchemaLocation =" https ://schema.phpunit.de/10.5 /phpunit.xsd"
5
4
backupGlobals =" false"
6
5
colors =" true"
7
- bootstrap =" vendor/autoload.php"
8
- >
6
+ bootstrap =" vendor/autoload.php" >
9
7
<php >
10
- <ini name =" error_reporting" value =" -1" />
8
+ <ini name =" error_reporting" value =" -1" />
11
9
</php >
12
-
13
10
<testsuites >
14
11
<testsuite name =" Magento Composer Library Test" >
15
12
<directory >./tests/</directory >
16
13
</testsuite >
17
14
</testsuites >
18
-
19
- <filter >
20
- <whitelist >
15
+ <source >
16
+ <include >
21
17
<directory >./</directory >
22
- < exclude >
23
- < directory >./tests</ directory >
24
- </ exclude >
25
- </whitelist >
26
- </filter >
18
+ </ include >
19
+ < exclude >
20
+ <directory >./tests</ directory >
21
+ </exclude >
22
+ </source >
27
23
</phpunit >
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function testRunInstalled()
74
74
*
75
75
* @return array
76
76
*/
77
- public function getCommandOutputDataProvider ()
77
+ public static function getCommandOutputDataProvider ()
78
78
{
79
79
return [
80
80
'Package not installed ' => [
Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ class MagentoComposerApplicationTest extends \PHPUnit\Framework\TestCase
34
34
35
35
protected function setUp (): void
36
36
{
37
- $ this ->composerApplication = $ this ->createMock (\Composer \Console \Application::class);
37
+ $ this ->composerApplication = $ this ->getMockBuilder ('Composer\Console\Application ' )
38
+ ->getMock ();
38
39
$ this ->inputFactory = $ this ->createMock (\Magento \Composer \ConsoleArrayInputFactory::class);
39
40
$ this ->consoleOutput = $ this ->createMock (\Symfony \Component \Console \Output \BufferedOutput::class);
40
41
You can’t perform that action at this time.
0 commit comments