-
Notifications
You must be signed in to change notification settings - Fork 23
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
Issue bundling AWS S3 package #65
Comments
After looking at Mozart issues, I realized that this is the exact issue I ran into while trying to use it a little over a year ago: coenjacobs#62 |
Oops. I haven't solved this yet. (I did try the other day!) |
That should be fixed in master now. I'm not 100% comfortable with the solution: db348bb In your examples, if: $this->useFipsEndpoint = Aws\boolean_value($useFipsEndpoint); worked, then I would expect $this->useFipsEndpoint = MyPlugin\Vendor\Aws\boolean_value($useFipsEndpoint); to also work. My solution was to search for $this->useFipsEndpoint = \MyPlugin\Vendor\Aws\boolean_value($useFipsEndpoint); It seems safe, but since I don't understand why the original syntax was working, I'm worried of unintended side effects. |
I'm attempting to bundle the aws-sdk-php package in my plugin (specifically the S3 component) and am running into an odd issue.
Basically these files:
all have a line that looks similar to this:
and after prefixing, they become something like this:
Which results in this error:
If I manually add a backslash at the begining of these classes, like this:
The issue goes away and everything works as expected.
Any ideas?
The text was updated successfully, but these errors were encountered: