fix(back) : passer symfony/http-client en require (compilation conteneur KO en prod)
Auto Tag Develop / tag (push) Successful in 8s
Auto Tag Develop / tag (push) Successful in 8s
Le composant etait declare en require-dev alors que config/packages/http_client.yaml active framework.http_client et que SyncQualimatCommand (module Transport) autowire HttpClientInterface. En prod (composer install --no-dev), la classe Symfony\Component\HttpClient\HttpClient etait absente -> DefinitionErrorExceptionPass : Invalid service "http_client.transport". Le package est un runtime prod (commandes de synchro des referentiels QUALIMAT / IDTF) : il passe donc en require.
This commit is contained in:
+2
-2
@@ -24,6 +24,7 @@
|
||||
"symfony/expression-language": "8.0.*",
|
||||
"symfony/flex": "^2",
|
||||
"symfony/framework-bundle": "8.0.*",
|
||||
"symfony/http-client": "8.0.*",
|
||||
"symfony/intl": "8.0.*",
|
||||
"symfony/mime": "8.0.*",
|
||||
"symfony/monolog-bundle": "^4.0",
|
||||
@@ -95,7 +96,6 @@
|
||||
"doctrine/doctrine-fixtures-bundle": "^4.3",
|
||||
"friendsofphp/php-cs-fixer": "^3.94",
|
||||
"phpunit/phpunit": "^13.0",
|
||||
"symfony/browser-kit": "8.0.*",
|
||||
"symfony/http-client": "8.0.*"
|
||||
"symfony/browser-kit": "8.0.*"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user