Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BraisGabin
Copy link
Member

This PR should wait until #2094 is merged.

This PR tries to fix this:

class C(override val PARAM: String) : I

interface I { val PARAM: String }

If we override a property of an interface in a constructor we should ignore the naming check by default.

@codecov-io
Copy link

codecov-io commented Nov 17, 2019

Codecov Report

Merging #2097 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2097      +/-   ##
============================================
+ Coverage     80.48%   80.49%   +0.01%     
- Complexity     2018     2020       +2     
============================================
  Files           336      336              
  Lines          5802     5805       +3     
  Branches       1064     1065       +1     
============================================
+ Hits           4670     4673       +3     
  Misses          564      564              
  Partials        568      568
Impacted Files Coverage Δ Complexity Δ
.../detekt/rules/naming/ConstructorParameterNaming.kt 100% <100%> (ø) 9 <0> (+2) ⬆️

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 d3b1de2...1fd920b. Read the comment docs.

@BraisGabin BraisGabin marked this pull request as ready for review November 26, 2019 11:03
@arturbosch arturbosch added this to the 1.2.1 milestone Nov 27, 2019
@arturbosch arturbosch merged commit 0e8c7e7 into detekt:master Nov 27, 2019
arturbosch pushed a commit that referenced this pull request Dec 5, 2019
* Add ignore override in constructor parameters

* Regenerate documentation
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
…t#2097)

* Add ignore override in constructor parameters

* Regenerate documentation
smyachenkov pushed a commit to smyachenkov/detekt that referenced this pull request Dec 9, 2019
…t#2097)

* Add ignore override in constructor parameters

* Regenerate documentation
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