-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Problem scoping the AWS PHP SDK v3 (gmdate constant) #301
Comments
I'm not sure it's fixable (I hope it is). I think it's a flow in https://github.com/humbug/php-scoper/blob/master/src/PhpParser/NodeVisitor/StringScalarPrefixer.php. In any case, I recommend to fix it with a patcher meanwhile, as unless you take a look at it, I don't know when I'll be able to. |
This is wonderful, thanks! 👍 |
Please note that although I tried to handle most cases, there is a few ones
that I can’t solve directly within PHP-Scoped (cf the spec file in the PR).
But I think you can handle those with a patcher cf the doc in the readme)
…On Mon 10 Jun 2019 at 17:22, Julian Vidal ***@***.***> wrote:
This is wonderful, thanks! 👍
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#301?email_source=notifications&email_token=ABHPVAJUJDURWZPQEYZ5XFTPZZWUVA5CNFSM4GYIX52KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXKF7KA#issuecomment-500457384>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABHPVALGDIHDD6VQOIHKY7DPZZWUVANCNFSM4GYIX52A>
.
|
This is broken again:
Possibly any string that starts with |
Unfortunately this is a bit tricky :/ It won't this this exact case, but I would like to find a way to say within to scope or not a string: #1032 |
Bug report
scoper.inc.php
There are a couple places where php-scoper thinks the string is a namespace but it isn't.
For example, these:
... get turned into thse:
The exact places where this happens are:
The text was updated successfully, but these errors were encountered: