[Composer] Fix dependencies

This commit is contained in:
Kevin Kaniaburka 2023-04-14 09:38:35 +02:00
parent d0d5db1bfb
commit 238472d99d
No known key found for this signature in database
GPG key ID: 8DB4C54474F3FD72
5 changed files with 29 additions and 2 deletions

View file

@ -36,6 +36,7 @@
"sylius/core-bundle": "^1.12",
"sylius/ui-bundle": "^1.12",
"symfony/framework-bundle": "^5.4.21 || ^6.0",
"symfony/http-client": "^5.4.21 || ^6.0",
"symfony/webpack-encore-bundle": "^1.15",
"twig/intl-extra": "^2.12 || ^3.4",
"twig/twig": "^2.12 || ^3.3"

View file

@ -29,7 +29,8 @@
"enshrined/svg-sanitize": "^0.16",
"lexik/jwt-authentication-bundle": "^2.11",
"sylius/core-bundle": "^1.12",
"symfony/messenger": "^5.4.21 || ^6.0"
"symfony/messenger": "^5.4.21 || ^6.0",
"symfony/http-client": "^5.4.21 || ^6.0"
},
"require-dev": {
"ext-sqlite3": "*",
@ -43,7 +44,6 @@
"symfony/browser-kit": "^5.4.21 || ^6.0",
"symfony/debug-bundle": "^5.4.21 || ^6.0",
"symfony/dotenv": "^5.4.21 || ^6.0",
"symfony/http-client": "^5.4.21 || ^6.0",
"symfony/webpack-encore-bundle": "^1.15",
"theofidry/alice-data-fixtures": "^1.4"
},

View file

@ -24,6 +24,7 @@ imports:
- { resource: "@SyliusCoreBundle/Resources/config/app/state_machine.yml" }
- { resource: "@SyliusCoreBundle/Resources/config/app/fixtures.yml" }
- { resource: "@SyliusCoreBundle/Resources/config/app/messenger.yaml" }
- { resource: "@SyliusCoreBundle/Resources/config/app/nyholm_psr7.yaml" }
- { resource: "@SyliusCoreBundle/Resources/config/app/doctrine_migrations.yaml" }
parameters:

View file

@ -0,0 +1,21 @@
services:
# Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)
Psr\Http\Message\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'
Psr\Http\Message\UriFactoryInterface: '@nyholm.psr7.psr17_factory'
# Register nyholm/psr7 services for autowiring with HTTPlug factories
Http\Message\MessageFactory: '@nyholm.psr7.httplug_factory'
Http\Message\RequestFactory: '@nyholm.psr7.httplug_factory'
Http\Message\ResponseFactory: '@nyholm.psr7.httplug_factory'
Http\Message\StreamFactory: '@nyholm.psr7.httplug_factory'
Http\Message\UriFactory: '@nyholm.psr7.httplug_factory'
nyholm.psr7.psr17_factory:
class: Nyholm\Psr7\Factory\Psr17Factory
nyholm.psr7.httplug_factory:
class: Nyholm\Psr7\Factory\HttplugFactory

View file

@ -35,6 +35,9 @@
"knplabs/knp-gaufrette-bundle": "^0.7 || ^0.8",
"league/flysystem-bundle": "^2.4",
"liip/imagine-bundle": "^2.10",
"nyholm/psr7": "^1.6",
"psr/http-client": "^1.0",
"psr/http-message": "^1.0",
"sonata-project/block-bundle": "^4.2",
"sylius-labs/association-hydrator": "^1.1 || ^1.2",
"sylius-labs/doctrine-migrations-extra-bundle": "^0.1.4 || ^0.2",
@ -65,6 +68,7 @@
"sylius/ui-bundle": "^1.12",
"sylius/user-bundle": "^1.12",
"symfony/framework-bundle": "^5.4.21 || ^6.0",
"symfony/http-client": "^5.4.21 || ^6.0",
"symfony/intl": "^5.4.21 || ^6.0",
"symfony/mailer": "^5.4.21 || ^6.0",
"symfony/messenger": "^5.4.21 || ^6.0",