Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Config][XmlReferenceDumper] Prevent potential \TypeError#35537
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
[Config][XmlReferenceDumper] Prevent potential \TypeError#35537
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedFeb 1, 2020
We don't handle dumping null names, that's what you mean? Any suggestions? |
fancyweb commentedFeb 3, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
We don't handle a
I don't think so. A test should be added once we support it.
No because the |
998b53e toe8ba15eComparenicolas-grekas commentedFeb 3, 2020
Thank you@fancyweb. |
…(fancyweb)This PR was merged into the 4.4 branch.Discussion----------[Config][XmlReferenceDumper] Prevent potential \TypeError| Q | A| ------------- | ---| Branch? | 4.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets |#34841| License | MIT| Doc PR | -`$key` can be null and `setName()` is now typed with `string`. Fallbacking on an empty string restores the behavior (and output) of < 5.0.However, that shows that's a case we don't handle (yet) properly. But that's another task 😃Commits-------e8ba15e [Config][XmlReferenceDumper] Prevent potential \TypeError
Uh oh!
There was an error while loading.Please reload this page.
$keycan be null andsetName()is now typed withstring. Fallbacking on an empty string restores the behavior (and output) of < 5.0.However, that shows that's a case we don't handle (yet) properly. But that's another task 😃