File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ composer config repositories.travis_to_test git https://github.com/$TRAVIS_REPO_
29
29
composer require ${COMPOSER_PACKAGE_NAME} :dev-${TRAVIS_BRANCH} \# {$TRAVIS_COMMIT }
30
30
31
31
# Install dev dependencies of module
32
- php ../.travis/merge-dev.php ` pwd ` / vendor/$COMPOSER_PACKAGE_NAME /composer.json ` pwd ` /composer.json | tee composer.json
32
+ php ../.travis/merge-dev.php vendor/$COMPOSER_PACKAGE_NAME /composer.json composer.json
33
33
composer update
34
34
35
35
# prepare for test suite
Original file line number Diff line number Diff line change 5
5
* This is used to install the module within a Magento 2 installation, but with its dev dependencies
6
6
*/
7
7
declare (strict_types=1 );
8
- ob_start ();
9
8
10
9
$ sourceFile = $ argv [1 ];
11
10
$ targetFile = $ argv [2 ];
28
27
$ targetJson ['require-dev ' ] = array_replace_recursive ($ targetJson ['require-dev ' ] ?? [], $ sourceJson ['require-dev ' ]);
29
28
$ targetJson ['autoload-dev ' ] = array_merge_recursive ($ targetJson ['autoload-dev ' ] ?? [], $ sourceJson ['autoload-dev ' ]);
30
29
31
- fwrite (STDERR , ob_get_clean ());
32
-
33
- echo json_encode ($ targetJson , JSON_PRETTY_PRINT );
30
+ file_put_contents ($ targetFile , json_encode ($ targetJson , JSON_PRETTY_PRINT ));
You can’t perform that action at this time.
0 commit comments