Skip to content
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

Inform user about Infinite Loop in node traverser with exception #51

Merged
merged 1 commit into from
May 16, 2021

Conversation

TomasVotruba
Copy link
Member

No description provided.

@TomasVotruba TomasVotruba changed the title avoid infinite loop Avoid infinite loop while creating node for the rule itself May 16, 2021
@TomasVotruba TomasVotruba force-pushed the avoid-infinite-loop branch 4 times, most recently from aafd9e9 to c4817f6 Compare May 16, 2021 15:39
@TomasVotruba
Copy link
Member Author

Few words of wisdom from the documentation shed a bit light:

image

https://github.com/nikic/PHP-Parser/blob/master/doc/component/Walking_the_AST.markdown#modifying-the-ast

@TomasVotruba TomasVotruba force-pushed the avoid-infinite-loop branch 9 times, most recently from 8c2214f to 9f3d469 Compare May 16, 2021 17:55
@TomasVotruba TomasVotruba changed the title Avoid infinite loop while creating node for the rule itself Inform user about Infinite Loop with exception May 16, 2021
@TomasVotruba TomasVotruba changed the title Inform user about Infinite Loop with exception Inform user about Infinite Loop in node traverser with exception May 16, 2021
@TomasVotruba TomasVotruba enabled auto-merge (squash) May 16, 2021 17:56
@TomasVotruba TomasVotruba merged commit a60e3ac into main May 16, 2021
@TomasVotruba TomasVotruba deleted the avoid-infinite-loop branch May 16, 2021 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant