Skip to content

Commit

Permalink
Tests: update the included composer.phar from v 2.2.2 to 2.2.18 (#237)
Browse files Browse the repository at this point in the history
Looks like the default PHP version on `ubuntu-latest` has been updated to PHP 8.1.11, which means that the `expect` tests running with the included `composer.phar` will error out on a fatal `PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #1 must be of type array, bool given in phar:///home/runner/work/composer-install/composer-install/tests/fixtures/composer.phar/src/Composer/Config.php:191` error.

Updating the included `composer.phar` to a more recent version fixes this.

Alternatively, the file could be removed and downloaded (or updated) on the fly from within CI ?

Refs:
* https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md

Co-authored-by: jrfnl <[email protected]>
  • Loading branch information
jrfnl and jrfnl authored Oct 23, 2022
1 parent 72896eb commit 4617231
Showing 1 changed file with 0 additions and 0 deletions.
Binary file modified tests/fixtures/composer.phar
Binary file not shown.

0 comments on commit 4617231

Please sign in to comment.