Commit f3680d4
PHP packages upgrade and added support for PHP 8.4
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`.1 parent 64ed79f commit f3680d4
File tree
32 files changed
+643
-950
lines changed- .github/workflows
- src
- Core
- Generator
- Helper
- StorageAdapter
- Storage
- tests
- Core
- DataTool/Types
- FieldData
- StorageAdapter/Storage
- SugarObject
32 files changed
+643
-950
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments