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

Avoid abstract infinite loop #94

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

stronk7
Copy link
Member

@stronk7 stronk7 commented Jan 26, 2024

Fix a couple of Sniffs that were able to enter into an infinite loop when processing test_xxx abstract methods.

Also adds a change to previous guard against that, because it was causing the abstract methods not to be processed.

Covered with tests.

Fixes #93

Copy link

codecov bot commented Jan 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (de2bd4d) 96.59% compared to head (6ffdc32) 96.58%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #94      +/-   ##
============================================
- Coverage     96.59%   96.58%   -0.01%     
+ Complexity      537      536       -1     
============================================
  Files            23       23              
  Lines          1525     1521       -4     
============================================
- Hits           1473     1469       -4     
  Misses           52       52              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stronk7
Copy link
Member Author

stronk7 commented Jan 26, 2024

I'm self-merging this towards a round of releases soon.

@stronk7 stronk7 merged commit 5c4f6c5 into moodlehq:main Jan 26, 2024
8 checks passed
@stronk7 stronk7 deleted the avoid_abstract_infinite_loop branch January 26, 2024 13:44
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.

Codechecker hangs when parsing abstract functions
1 participant