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

Null safety in NewlinesRule #634

Merged
merged 11 commits into from
Dec 14, 2020
Merged

Null safety in NewlinesRule #634

merged 11 commits into from
Dec 14, 2020

Conversation

kentr0w
Copy link
Collaborator

@kentr0w kentr0w commented Dec 10, 2020

Which rule and warnings did you add?

Fixed bug
closes #554

### What's done:
    added tests
…null-safety

# Conflicts:
#	diktat-rules/src/test/resources/test/paragraph3/newlines/FunctionalStyleExpected.kt
#	diktat-rules/src/test/resources/test/paragraph3/newlines/FunctionalStyleTest.kt
### What's done:
   Fixed bug and added tests
@kentr0w kentr0w added the bug Something isn't working label Dec 10, 2020
@kentr0w kentr0w requested a review from petertrr December 10, 2020 15:01
@codecov
Copy link

codecov bot commented Dec 10, 2020

Codecov Report

Merging #634 (bacb119) into master (c1c8d2d) will increase coverage by 0.01%.
The diff coverage is 85.71%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #634      +/-   ##
============================================
+ Coverage     80.83%   80.85%   +0.01%     
- Complexity     1775     1787      +12     
============================================
  Files            90       90              
  Lines          4680     4690      +10     
  Branches       1410     1414       +4     
============================================
+ Hits           3783     3792       +9     
  Misses          318      318              
- Partials        579      580       +1     
Flag Coverage Δ Complexity Δ
unittests 80.85% <85.71%> (+0.01%) 0.00 <14.00> (ø)

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

Impacted Files Coverage Δ Complexity Δ
...rg/cqfn/diktat/ruleset/rules/files/NewlinesRule.kt 81.69% <85.71%> (+0.38%) 122.00 <14.00> (+12.00)

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 c1c8d2d...bacb119. Read the comment docs.

### What's done:
   Fixed according our code style
### What's done:
   Fixed according our code style
### What's done:
   Fixed after review
### What's done:
   Fixed according our code style
### What's done:
   Fixed according our code style
### What's done:
   Fixed according our code style
@kentr0w kentr0w merged commit 8baf3d8 into master Dec 14, 2020
@kentr0w kentr0w deleted the bugfix/newLineRule-null-safety branch December 14, 2020 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Newline should be inserted before ?: in functional call chain
2 participants