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

Fix: AbstractClassesRule should also take properties into account #1102

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

petertrr
Copy link
Member

@petertrr petertrr commented Nov 8, 2021

What's done:

  • Fix logic
  • Add tests

Which rule and warnings did you add?

This pull request closes #1100

@petertrr petertrr enabled auto-merge (squash) November 8, 2021 12:56
@codecov
Copy link

codecov bot commented Nov 8, 2021

Codecov Report

Merging #1102 (b676890) into master (d249fbb) will increase coverage by 0.00%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1102   +/-   ##
=========================================
  Coverage     83.40%   83.41%           
  Complexity     2458     2458           
=========================================
  Files           102      102           
  Lines          6141     6143    +2     
  Branches       1840     1840           
=========================================
+ Hits           5122     5124    +2     
  Misses          274      274           
  Partials        745      745           
Flag Coverage Δ
unittests 83.41% <66.66%> (+<0.01%) ⬆️

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

Impacted Files Coverage Δ
...eset/rules/chapter6/classes/AbstractClassesRule.kt 94.73% <66.66%> (+0.61%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d249fbb...b676890. Read the comment docs.

@petertrr petertrr merged commit 1dd9230 into master Nov 8, 2021
@petertrr petertrr deleted the bugfix/abstract-val#1100 branch November 8, 2021 13:11
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.

CLASS_SHOULD_NOT_BE_ABSTRACT: abstract fields are ignored
2 participants