This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 153
Fix fatal syntax error "unexpected '-', expecting '{'" #424
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ial chars in wsdl-filename This might also fix #357
travis reporting |
well... Let's forget about this shameful uncomitted fix... |
Ok, it's not that shameful that I thought: The unit test is here but the fix would be best in the |
This belongs to sebastianbergmann/phpunit#3217 |
will fix this in phpunit 7.2 (mock-object project was merged into main project) |
shall be opened, so PHPUnit <7.2 would benefit from fix as well |
Closed
Please notice that this are just tests and the fix for older versions is in the main repository: sebastianbergmann/phpunit#3217 |
sebastianbergmann
pushed a commit
to sebastianbergmann/phpunit
that referenced
this pull request
Aug 7, 2018
This was referenced Aug 22, 2018
This was referenced Sep 1, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
caused by special chars in wsdl-filename
This might also fix #357
Stumbled over that bug today. Remote file could be load via http (
http://example.org/soap.wsdl
) but saved as local file with name (/home/user/my-dir/acme-soap.wsdl
) lead to that error. Guessed that it has something todo with the-
in the directory- or filename and found it.