Skip to content

Commit 82f39d7

Browse files
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

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"devizzent/cebe-php-openapi": "^1.1.5",
1919
"fakerphp/faker": "^1.24.1",
2020
"laminas/laminas-diactoros": "^3.8",
21-
"laminas/laminas-servicemanager": "^3.24 || ^4.0",
2221
"league/openapi-psr7-validator": "^0.22",
2322
"mezzio/mezzio": "^3.27",
2423
"mezzio/mezzio-fastroute": "^3.14",
@@ -49,7 +48,6 @@
4948
"phpstan/phpstan-webmozart-assert": "^2.0.0",
5049
"rector/rector": "^2.3.9",
5150
"roave/security-advisories": "dev-master",
52-
"slam/phpstan-laminas-framework": "^2.0",
5351
"webproject-xyz/codeception-module-ai-reporter": "^1.1.0"
5452
},
5553
"autoload": {

0 commit comments

Comments
 (0)