Commit f8ad497
authored
Support PHP 8.2 (#62)
* Support PHP 8.2
* ⚙️ chore(dependencies) upgrade swoole to v4.8.12 for PHP v8.2
* ⚙️chore(workflows): add PHPUnit-Swow YAML configuration file
* 🛠️refactor(workflow): rename server script in test-swow.yml
* 🛠️refactor(example): rename swow.php to index.php in start command
* 🛠️refactor(index.php) define SWOOLE_HOOK_ALL constant for swow fix
* ⚙️ chore(dependencies): upgrade composer packages and add Hyperf Swow Engine support
* 🛠️refactor(example) update index.php to support Swow hook
* ⚙️chore(swow) update routes and add middleware
* ⚙️ chore(test-swow): update engine environment variable in example
* ⚙️ chore(test-swow.yml): update server run command
* ⚙️chore(workflow): remove test-swow.yml
* 🛠️refactor(app): simplify server creation in index.php
* ⚙️chore(example) remove unused routes and middleware
---------
Co-authored-by: Deeka Wong <[email protected]>1 parent 76de10e commit f8ad497
2 files changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
| |||
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| 40 | + | |
34 | 41 | | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
| 46 | + | |
39 | 47 | | |
40 | | - | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
47 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
48 | 62 | | |
49 | 63 | | |
50 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments