Skip to content

Conversation

mpdude
Copy link
Contributor

@mpdude mpdude commented Mar 12, 2020

Symfony 4.4 added a lint:container command. This linting step fails for the aws.* services created on the fly by this bundle, because those calls will in fact be handled by a magic method:

https://github.com/aws/aws-sdk-php/blob/02131fd17c9b62f36993bb2da88dd624ce058179/src/Sdk.php#L476-L478

By calling the createClient method directly, we can avoid these errors.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mpdude
Copy link
Contributor Author

mpdude commented Mar 19, 2020

@howardlopez Does this make sense?

@holorhythms holorhythms added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Mar 26, 2020
Copy link
Contributor

@holorhythms holorhythms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR - looks good to me!

@holorhythms holorhythms merged commit 05895c9 into aws:master Apr 8, 2020
@lugus
Copy link

lugus commented Apr 8, 2020

It's working great, thank you @mpdude and @howardlopez

@mpdude mpdude deleted the support-linting branch May 18, 2020 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

investigating This issue is being investigated and/or work is in progress to resolve the issue.

3 participants