Commit a0b7c13
Add GitHub Actions CI for 5.x.x and fix curl_close deprecation on PHP 8+ (#900)
This PR re-implements changes from
#864, solving #863
---
🤖 This is a minimal backport addressing PHP 8+ compatibility for the
5.x.x branch.
## Changes
- **Add CI pipeline**: GitHub Actions workflow targeting PHP 7.1, 7.2,
7.3 and 7.4
- **Fix `curl_close` deprecation**: Wrap `curl_close($ch)` in a
`PHP_VERSION_ID < 80000` check — `curl_close()` is a no-op and
deprecated since PHP 8.0
- **`.gitattributes`**: Add `/.github export-ignore` so the workflow
files are excluded from archives
Fixes #863
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent feb2ca6 commit a0b7c13
File tree
3 files changed
+51
-1
lines changed- .github/workflows
- src/JsonSchema/Uri/Retrievers
3 files changed
+51
-1
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 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
0 commit comments