Skip to content

Add PHP 8.4 to CI and fix test method naming to follow camelCase convention #628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fontebasso
Copy link
Contributor

@fontebasso fontebasso commented May 1, 2025

This PR introduces two changes. First, it adds PHP 8.4 to the test matrix, as the version has been officially released for over five months and is currently in its active support phase. Ensuring compatibility with PHP 8.4 is important for forward-compatibility and maintaining the reliability of the package across supported environments.

The second change corrects the naming style of PHPUnit test methods. While reviewing the updates made in PR #616, "Fixed php-8.4 deprecations" by @sergonie, I realized that my earlier PR #622, "Fix formatting and clean up deprecated docker-compose v1 from CI", unintentionally changed test method names from camelCase to snake_case.

The Pint configuration added in PR #616 explicitly defined the use of camelCase, which reflects the historical naming convention used in this package. This PR restores that convention by renaming all test methods back to camelCase for consistency.

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.

1 participant