Skip to content

ci: Leverage shivammathur/setup-php to install Box in the CI#1374

Open
theofidry wants to merge 3 commits intophpbrew:masterfrom
theofidry:ci/build-step
Open

ci: Leverage shivammathur/setup-php to install Box in the CI#1374
theofidry wants to merge 3 commits intophpbrew:masterfrom
theofidry:ci/build-step

Conversation

@theofidry
Copy link
Copy Markdown
Contributor

@theofidry theofidry commented Jun 23, 2024

This requires to upgrade the PHP version used for executing the PHAR building workflow to PHP 8.2 as the newest version of Box require PHP 8.2.

uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any reason about changing 8.1 to the 8.2 version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, newer versions of Box require PHP 8.2.

I don't expect it to cause issues though because the composer.json has the config.platform.php configured (it is set to PHP 7.2 so that we are on PHP 8.1 is already relying on this mechanism).

And I hope that if there is any issue, we could catch it via end-to-end tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants