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 overriding the deprecated Rule#visit() call #1541

Merged

Conversation

0x6675636b796f75676974687562
Copy link
Member

What's done:

Rule.visit() calls replaced with Rule.beforeVisitChildNodes().

@nulls
Copy link
Member

nulls commented Oct 31, 2022

can you please create an epic for migration from RuleSetProvider to RuleSetProviderV2. I guess it will require more PRs

@codecov
Copy link

codecov bot commented Oct 31, 2022

Codecov Report

Merging #1541 (93ce10b) into master (05ee309) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1541   +/-   ##
=========================================
  Coverage     82.09%   82.09%           
  Complexity     2306     2306           
=========================================
  Files           112      112           
  Lines          7793     7793           
  Branches       2011     2011           
=========================================
  Hits           6398     6398           
  Misses          481      481           
  Partials        914      914           
Flag Coverage Δ
unittests 82.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...kotlin/org/cqfn/diktat/ruleset/rules/DiktatRule.kt 66.66% <ø> (ø)
.../cqfn/diktat/ruleset/rules/chapter6/RunInScript.kt 91.17% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@0x6675636b796f75676974687562 0x6675636b796f75676974687562 deleted the bugfix/andrey.shcheglov/deprecated-code branch October 31, 2022 11:24
@0x6675636b796f75676974687562
Copy link
Member Author

0x6675636b796f75676974687562 commented Oct 31, 2022

can you please create an epic for migration from RuleSetProvider to RuleSetProviderV2. I guess it will require more PRs

Sure. See #1543.

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.

3 participants