Commit 82f39d7
committed
refactor(deps): replace laminas-servicemanager with lightweight PSR-11 container
Drop laminas/laminas-servicemanager to avoid downstream dependency
conflicts. Introduce a minimal SimpleContainer that implements
PSR-11 ContainerInterface and supports the Mezzio ConfigProvider
format (factories, aliases, invokables, delegators).
- Add src/Container/SimpleContainer.php
- Update config/container.php to use SimpleContainer
- Widen psr/container to ^1.1 || ^2.0 (matching Symfony/Mezzio convention)
- Remove slam/phpstan-laminas-framework (tied to ServiceManager)
- Remove tests/phpstan-container.php (no longer needed)1 parent 2a70da7 commit 82f39d7
6 files changed
Lines changed: 540 additions & 550 deletions
File tree
- config
- src/Container
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | | - | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
| |||
0 commit comments