Commit aa6178d
authored
Update PHPCS and PHP versions in unit tests (#3)
This pull request updates the PHP and PHPCS version matrix in the GitHub
Actions workflow for unit tests. The main goal is to ensure
compatibility with the latest PHP and PHPCS versions and to improve test
coverage for development versions.
**Updates to test matrix:**
- **Expanded PHP version support:**
* Added PHP 8.5 to the test matrix to ensure future compatibility.
* Included a job to test PHP 8.5 with PHPCS `4.x-dev` for early
detection of compatibility issues.
- **Expanded PHPCS version support:**
* Added `3.x-dev` to the PHPCS versions that are tested.
- **Fix branch naming**
* Updated the job that previously used `dev-master` for PHPCS to use
`3.x-dev`, aligning with current PHPCS branch naming. This fixes job
failure that used `dev-master` when the `master` branch was renamed to
`3.x`.
- **Workflow trigger improvements:**
* Modified the `pull_request` trigger in
`.github/workflows/unit-tests.yml` to ignore changes to unit test
workflow files themselves, preventing redundant workflow runs when only
those files are changed.1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | | - | |
67 | | - | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | | - | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| 91 | + | |
| 92 | + | |
87 | 93 | | |
88 | 94 | | |
89 | 95 | | |
| |||
0 commit comments