File tree Expand file tree Collapse file tree 6 files changed +21
-23
lines changed Expand file tree Collapse file tree 6 files changed +21
-23
lines changed Original file line number Diff line number Diff line change 1717 - " 8.1"
1818 - " 8.2"
1919 - " 8.3"
20+ - " 8.4"
2021 dependencies :
2122 - " lowest"
2223 - " highest"
Original file line number Diff line number Diff line change 22 "name" : " magento/composer" ,
33 "description" : " Magento composer library helps to instantiate Composer application and run composer commands." ,
44 "type" : " library" ,
5- "version" : " 1.10.0 " ,
5+ "version" : " 1.10.1-beta1 " ,
66 "license" : [
77 " OSL-3.0" ,
88 " AFL-3.0"
99 ],
1010 "require" : {
11- "php" : " ~7.4.0||~8.1.0||~8.2.0||~8.3.0" ,
12- "composer/composer" : " ^2.0 " ,
11+ "php" : " ~7.4.0||~8.1.0||~8.2.0||~8.3.0||~8.4.0 " ,
12+ "composer/composer" : " ^2.1.13 " ,
1313 "symfony/console" : " ~4.4.0||~5.4.0||~6.4.0"
1414 },
1515 "require-dev" : {
16- "phpunit/phpunit" : " ^9"
16+ "phpunit/phpunit" : " ^9.5.10 || ^10 "
1717 },
1818 "autoload" : {
1919 "psr-4" : {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2-
32<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"
54 backupGlobals =" false"
65 colors =" true"
7- bootstrap =" vendor/autoload.php"
8- >
6+ bootstrap =" vendor/autoload.php" >
97 <php >
10- <ini name =" error_reporting" value =" -1" />
8+ <ini name =" error_reporting" value =" -1" />
119 </php >
12-
1310 <testsuites >
1411 <testsuite name =" Magento Composer Library Test" >
1512 <directory >./tests/</directory >
1613 </testsuite >
1714 </testsuites >
18-
19- <filter >
20- <whitelist >
15+ <source >
16+ <include >
2117 <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 >
2723</phpunit >
Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ class MagentoComposerApplication
6565 public function __construct (
6666 $ pathToComposerHome ,
6767 $ pathToComposerJson ,
68- Application $ consoleApplication = null ,
69- ConsoleArrayInputFactory $ consoleArrayInputFactory = null ,
70- BufferedOutput $ consoleOutput = null
68+ ? Application $ consoleApplication = null ,
69+ ? ConsoleArrayInputFactory $ consoleArrayInputFactory = null ,
70+ ? BufferedOutput $ consoleOutput = null
7171 ) {
7272 $ this ->consoleApplication = $ consoleApplication ? $ consoleApplication : new Application ();
7373 $ this ->consoleArrayInputFactory = $ consoleArrayInputFactory ? $ consoleArrayInputFactory
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function testRunInstalled()
7474 *
7575 * @return array
7676 */
77- public function getCommandOutputDataProvider ()
77+ public static function getCommandOutputDataProvider ()
7878 {
7979 return [
8080 'Package not installed ' => [
Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ class MagentoComposerApplicationTest extends \PHPUnit\Framework\TestCase
3434
3535 protected function setUp (): void
3636 {
37- $ this ->composerApplication = $ this ->createMock (\Composer \Console \Application::class);
37+ $ this ->composerApplication = $ this ->getMockBuilder ('Composer\Console\Application ' )
38+ ->getMock ();
3839 $ this ->inputFactory = $ this ->createMock (\Magento \Composer \ConsoleArrayInputFactory::class);
3940 $ this ->consoleOutput = $ this ->createMock (\Symfony \Component \Console \Output \BufferedOutput::class);
4041
You can’t perform that action at this time.
0 commit comments