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

[CodingStyle] Skip positive-int and negative-int over int on VarConstantCommentRector #3709

Merged
merged 9 commits into from
Apr 29, 2023

Conversation

samsonasik
Copy link
Member

@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @internalsystemerror

@samsonasik samsonasik changed the title [CodingStyle] Skip positive-int over int on VarConstantCommentRector [CodingStyle] Skip positive-int and negative-int over int on VarConstantCommentRector Apr 29, 2023
@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I think it is ready.

@samsonasik
Copy link
Member Author

@TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit ed8e74e into main Apr 29, 2023
@samsonasik samsonasik deleted the integer-range branch April 29, 2023 15:32
samsonasik added a commit that referenced this pull request May 8, 2023
…antCommentRector (#3709)

* [CodingStyle] Skip positive-int over int on VarConstantCommentRector

* Fixed 🎉

* clean up

* negative-int as well

* add negative-int

* Final touch: add dedicated IntegerRangeType data

* reduce get_class() inside on downgrade code by using string

* Final touch: clean up

* Final touch: clean up
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.

VarConstantCommentRector doesn't understand positive-int comment
1 participant