Commit 97ffe99
committed
chore: upgrade utopia-php/servers to 0.3.* and utopia-php/di to 0.3.*
- Replace all Dependency class usage with new Container::set(string, callable) API
- Add executeHook() method to Http class to replace removed Container::inject()
- Update Route to call parent::__construct() for Hook's new constructor
- Update all test files and examples to use new DI API
- Resolves breaking changes from DI dropping Dependency/Injection classes
https://claude.ai/code/session_0196tmVsX1KjJKmuHncp7HiV1 parent b704e80 commit 97ffe99
11 files changed
Lines changed: 186 additions & 343 deletions
File tree
- example/src
- src/Http
- tests
- e2e
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 20 | + | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
| |||
0 commit comments