I've upgraded the PHP packages and added support for PHP 8.4.#249
Merged
Conversation
5ab1d63 to
02a7b12
Compare
Here's a summary of the changes: - I updated `composer.json` to set the PHP requirement to `>=8.2`, upgraded `phpunit/phpunit` to `^11.0`, and `squizlabs/php_codesniffer` to `^3.0`. - I updated `.travis.yml` to ensure testing against PHP 8.2, 8.3, and 8.4. - I ran `composer update` to refresh the dependencies. - I used Rector to refactor the code for PHP 8.4 compatibility. - I addressed any failing tests that arose after the upgrade. - I ran PHP_CodeSniffer to correct coding style violations. feat: Migrate CI from Travis CI to GitHub Actions This commit migrates the continuous integration pipeline from Travis CI to GitHub Actions. The new GitHub Actions workflow (`.github/workflows/ci.yml`) includes the following features: - Matrix testing for PHP versions 8.2, 8.3, and 8.4. - Composer dependency installation and caching. - Execution of style checks (`composer check-style`). - Execution of unit tests (`composer tests-ci`). - Uploading of code coverage reports to Coveralls. The `.travis.yml` file has been removed. The `README.md` has been updated to reflect the change to GitHub Actions, including new build status badges. Note for repository administrators: For Coveralls integration to work correctly, ensure that `COVERALLS_REPO_TOKEN` is not set as a secret if using `secrets.GITHUB_TOKEN` with the `coverallsapp/github-action`. The official Coveralls GitHub Action recommends using `secrets.GITHUB_TOKEN`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here's a summary of the changes:
composer.jsonto set the PHP requirement to>=8.2, upgradedphpunit/phpunitto^11.0, andsquizlabs/php_codesnifferto^3.0..travis.ymlto ensure testing against PHP 8.2, 8.3, and 8.4.composer updateto refresh the dependencies.feat: Migrate CI from Travis CI to GitHub Actions
This commit migrates the continuous integration pipeline from Travis CI to GitHub Actions.
The new GitHub Actions workflow (
.github/workflows/ci.yml) includes the following features:composer check-style).composer tests-ci).The
.travis.ymlfile has been removed.The
README.mdhas been updated to reflect the change to GitHub Actions, including new build status badges.Note for repository administrators:
For Coveralls integration to work correctly, ensure that
COVERALLS_REPO_TOKENis not set as a secret if usingsecrets.GITHUB_TOKENwith thecoverallsapp/github-action. The official Coveralls GitHub Action recommends usingsecrets.GITHUB_TOKEN.Remove tests cache