-
-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable s3 adapter #2358
Configurable s3 adapter #2358
Conversation
On a real project it fails because of this error:
I have to think how to pass async client instead of the simple one |
Is there other adapters ? |
Yes, this is exactly what I'm going to do. Since there're indeed no other adapters, |
4bb6ade
to
fc543ee
Compare
@@ -128,6 +128,10 @@ public function testListAction(): void | |||
$this->configureSetFormTheme($formView, ['filterTheme']); | |||
$this->configureSetCsrfToken('sonata.batch'); | |||
$this->configureRender('templateList', 'renderResponse'); | |||
|
|||
/** | |||
* @psalm-suppress DeprecatedClass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you solve the deprecation instead ? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd leave it as it is right now, because phpunit doesn't provide any replacement for the withConsecutive
method, and I'm way out of the context of this test case to thoroughly re-write the test. Any proposed workarounds, like using callbacks with match (switch if we still support 7.4) look very hideous to me.
2d7fa2d
to
415ee90
Compare
@@ -89,13 +90,13 @@ | |||
"sonata-project/classification-bundle": "^4.0", | |||
"sonata-project/doctrine-orm-admin-bundle": "^4.0", | |||
"symfony/browser-kit": "^4.4 || ^5.4 || ^6.0", | |||
"symfony/filesystem": "^4.4 || ^5.4 || ^6.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last question, why this was removed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already in the "require" section with the same versions. Does it makes sense to have a duplicate entry in require-dev? I can roll it back if it was there for a reason :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't see the require section. You were right to remove it then. thnaks
@VincentLanglet Thank you! May I ask you to create a minor release, so I can use it in my projects? |
Done |
Thank you! |
Added configuration to set AWS S3 adapter class
I am targeting this branch, because it adds a configuration feature with full BC.
Closes #2357 .
Changelog