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

loggers sometimes shouldn't be first #1624

Merged

Conversation

sanyavertolet
Copy link
Member

No description provided.

@sanyavertolet sanyavertolet self-assigned this Mar 14, 2023
### What's done:
 * Added simple dependency check when looking for logger that could be first property
 * Added test

 (#1602)
### What's done:
 * Added simple dependency check when looking for logger that could be first property
 * Added test

 (#1602)
### What's done:
 * Added simple dependency check when looking for logger that could be first property
 * Added test

 (#1602)
@codecov
Copy link

codecov bot commented Mar 16, 2023

Codecov Report

Merging #1624 (b9f84a5) into master (cb102a2) will increase coverage by 0.01%.
The diff coverage is 94.44%.

@@             Coverage Diff              @@
##             master    #1624      +/-   ##
============================================
+ Coverage     82.47%   82.49%   +0.01%     
  Complexity     2334     2334              
============================================
  Files           112      112              
  Lines          7862     7876      +14     
  Branches       2045     2047       +2     
============================================
+ Hits           6484     6497      +13     
  Misses          452      452              
- Partials        926      927       +1     
Flag Coverage Δ
unittests 82.49% <94.44%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
...tlin/org/cqfn/diktat/ruleset/utils/AstNodeUtils.kt 81.89% <ø> (ø)
...set/rules/chapter3/ClassLikeStructuresOrderRule.kt 84.17% <94.44%> (+0.97%) ⬆️

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

@sanyavertolet sanyavertolet changed the title [WIP] loggers sometimes shouldn't be first loggers sometimes shouldn't be first Mar 16, 2023
@sanyavertolet sanyavertolet marked this pull request as ready for review March 16, 2023 10:14
@sanyavertolet sanyavertolet added the autofix Issues related to diktat in autofix mode label Mar 16, 2023
@github-actions
Copy link
Contributor

JUnit Tests (Windows, EnricoMi/publish-unit-test-result-action@v2)

2 025 tests  +1   2 010 ✔️ +1   12m 56s ⏱️ - 4m 59s
   166 suites ±0        15 💤 ±0 
   166 files   ±0          0 ±0 

Results for commit b9f84a5. ± Comparison against base commit cb102a2.

@github-actions
Copy link
Contributor

JUnit Tests (macOS, EnricoMi/publish-unit-test-result-action@v2)

   166 files  ±0     166 suites  ±0   25m 54s ⏱️ - 1m 51s
2 025 tests +1  1 987 ✔️ +1  34 💤 ±0  4 ±0 
2 029 runs  +1  1 991 ✔️ +1  34 💤 ±0  4 ±0 

For more details on these failures, see this check.

Results for commit b9f84a5. ± Comparison against base commit cb102a2.

@sanyavertolet sanyavertolet enabled auto-merge (squash) March 16, 2023 10:34
@sanyavertolet sanyavertolet merged commit 82ee915 into master Mar 16, 2023
@sanyavertolet sanyavertolet deleted the bugfix/WRONG_ORDER_IN_CLASS_LIKE_STRUCTURES_loggers branch March 16, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autofix Issues related to diktat in autofix mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in fix mode of WRONG_ORDER_IN_CLASS_LIKE_STRUCTURES rule
3 participants