Skip to content

Conversation

@yankewei
Copy link
Contributor

Problem

The previous CI configuration used oskarstark/php-cs-fixer-ga Docker image, which was running on
a newer PHP version (likely 8.4). This caused inconsistent code style fixes when compared to
running php-cs-fixer locally on PHP 8.1 (the project's minimum requirement).

Solution

  • Use shivammathur/setup-php@v2 to explicitly set PHP 8.1
  • Install dependencies via composer
  • Run php-cs-fixer using the project's own dependency

Replace Docker image with explicit PHP 8.1 setup to match project's minimum requirement.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@yankewei
Copy link
Contributor Author

Fix #520

@yankewei
Copy link
Contributor Author

@Sammyjo20, Please take a look at this when you have a moment.

@Sammyjo20
Copy link
Member

Ah thanks for finding this @yankewei that's funny because I just found the same issue and have fixed in #525 :)

@Sammyjo20
Copy link
Member

All done in the latest release!

@Sammyjo20 Sammyjo20 closed this Nov 20, 2025
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