-
-
Notifications
You must be signed in to change notification settings - Fork 110
Issue 223 #224
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 223 #224
Conversation
williamdes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you @sinri !
Can a regression test be added ?
Can you provide me any instructions about the regression test? So I could try to add then. |
|
Tried PHPUnit, The test case IN file contains After checking, I think here last should be updated to 2. BTW, the operator |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This looks good to me, thank you for your contribution! |
|
|
||
| $this->after($parser, $list, $token); | ||
|
|
||
| // #223 Here may make a patch, if last is delimiter, back one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to find a way to say this a bit differently since I'm a little not clear about what the "one" is here. Would this phrasing work for you?
// Issue 223: If the previous token is a delimiter, go back to the previous token
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this line is missing a $class !== null check beforehand, as we use it a few lines above.
I tried to PR a suggestion, but it seems this lines are not contained in the master branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@staabm This should be part of master now, can you make sure you're pulling the latest change from this repository?
Signed-off-by: Isaac Bennetch <[email protected]>
Signed-off-by: Isaac Bennetch <[email protected]>
|
This breaks quite a few things in tests, there are 11 errors relating to
that weren't there before merging this pull request. If you can fix the test failures, I can merge that fix, otherwise I may have to roll back this change. I should have noticed the errors before merging but was focused on the test failure in parseCall3 instead. |
Added null check to fix tests from pull request #224.
|
Hi @sinri
|
Pull-request: #224 Signed-off-by: William Desportes <[email protected]>
Made a fix.
Fixes: #223