Skip to content

Conversation

@jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Aug 18, 2025

Currently every single composer install on PHP 8.5 fails due to a deprecation notice coming from a Composer dependency during the reading of the composer.json file.

While it is expected that this will be fixed soonish (fix is already available in the dependency, we're just waiting for a new release of both the dependency as well as of Composer), I rather not have the red crosses on every single PR while working on getting a new version released.

So, this commit adds a temporary work-around which should allow the tests to run against PHP 8.5 again. This should also allow us to monitor if any of the other deprecation PRs which have gone into PHP 8.5 cause issues for Patchwork.

Once a new version of Composer has been released, we should be able to revert this commit.

Currently every single `composer install` on PHP 8.5 fails due to a deprecation notice coming from a Composer dependency during the reading of the `composer.json` file.

While it is expected that this will be fixed soonish (fix is already available in the dependency, we're just waiting for a new release of both the dependency as well as of Composer), I rather not have the red crosses on every single PR while working on getting PHPCS 4.0 released.

So, this commit adds a temporary work-around which should allow the tests to run against PHP 8.5 again.
This should also allow us to monitor if any of the other deprecation PRs which have gone into PHP 8.5 cause issues for PHPCS.

Once a new version of Composer has been released, we should be able to revert this commit.
@jrfnl jrfnl added this to the 2.2 Next milestone Aug 18, 2025
@jrfnl jrfnl added the github_actions Pull requests that update GitHub Actions code label Aug 18, 2025
@antecedent antecedent merged commit 9b010d7 into master Aug 19, 2025
20 checks passed
@jrfnl
Copy link
Collaborator Author

jrfnl commented Aug 19, 2025

Oops... only just noticed I'd blindly copied/pasted the commit message and forgot to update the project name... 😳 Updated in the PR description now, but too late for the commit message.

@jrfnl jrfnl deleted the feature/ghactions-fix-testing-against-php-8.5 branch August 19, 2025 13:25
@jrfnl jrfnl modified the milestones: 2.2 Next, 2.2.3 Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants