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

Document and test edge cases for ForbiddenMethodCall function signatures #5495

Merged
merged 1 commit into from Nov 3, 2022
Merged

Document and test edge cases for ForbiddenMethodCall function signatures #5495

merged 1 commit into from Nov 3, 2022

Commits on Nov 1, 2022

  1. Document and test edge cases for ForbiddenMethodCall function signatures

    I was stuck trying to match some function signatures (from Timber on Android)
    for the ForbiddenMethodCall rule and had to test inside detekt to figure out how
    to do it properly. To make this more clear in the future, I've expanded the
    description of the methods configuration parameter and added more tests for
    these cases. Some of this might be obvious to some but it was not to me at the
    time so I think having some quick tips might be helpful; or perhaps a link to a
    more comprehensive guide on Kotlin function signatures (if one exists).
    dzirbel committed Nov 1, 2022
    Copy the full SHA
    1ab2108 View commit details
    Browse the repository at this point in the history