-
-
Notifications
You must be signed in to change notification settings - Fork 755
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
Extend CanBeNonNullable rule to check function params #4431
Extend CanBeNonNullable rule to check function params #4431
Commits on Dec 30, 2021
-
Expanded CanBeNonNullable rule to check for function parameters that …
…can be marked as non-nullable
Configuration menu - View commit details
-
Copy full SHA for 47e858e - Browse repository at this point
Copy the full SHA 47e858eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7abf6ae - Browse repository at this point
Copy the full SHA 7abf6aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9197f1b - Browse repository at this point
Copy the full SHA 9197f1bView commit details
Commits on Jan 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7a50a9a - Browse repository at this point
Copy the full SHA 7a50a9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0992e7d - Browse repository at this point
Copy the full SHA 0992e7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b642aa9 - Browse repository at this point
Copy the full SHA b642aa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5ecb4a - Browse repository at this point
Copy the full SHA e5ecb4aView commit details -
Enabled nullable params to be passed through to non-local variables a…
…nd other functions
Configuration menu - View commit details
-
Copy full SHA for b0a3cda - Browse repository at this point
Copy the full SHA b0a3cdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82f5f85 - Browse repository at this point
Copy the full SHA 82f5f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d48819 - Browse repository at this point
Copy the full SHA 2d48819View commit details
Commits on Jan 3, 2022
-
Reworked CanBeNonNullable so that it only calls on a specific heurist…
…ic instead of "guilty until proven innocent" for nullable params; Fixed Detekt issue
Configuration menu - View commit details
-
Copy full SHA for 6a2bdc8 - Browse repository at this point
Copy the full SHA 6a2bdc8View commit details -
Merge branch 'master' into function_parameters_non_nullable
# Conflicts: # detekt-rules-style/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/CanBeNonNullableSpec.kt
Configuration menu - View commit details
-
Copy full SHA for 408e7ec - Browse repository at this point
Copy the full SHA 408e7ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for a260193 - Browse repository at this point
Copy the full SHA a260193View commit details -
CanBeNonNullable will only flag a param that has been checked for non…
…-null type if that check is the only expression in the function
Configuration menu - View commit details
-
Copy full SHA for 8a381b5 - Browse repository at this point
Copy the full SHA 8a381b5View commit details -
Added check for when a single-expression function finishes on a null-…
…safe extension function; Fixed Detekt issues in SplitPattern.kt
Configuration menu - View commit details
-
Copy full SHA for d8aef95 - Browse repository at this point
Copy the full SHA d8aef95View commit details -
Configuration menu - View commit details
-
Copy full SHA for e95d7ab - Browse repository at this point
Copy the full SHA e95d7abView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73790f1 - Browse repository at this point
Copy the full SHA 73790f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3445d9 - Browse repository at this point
Copy the full SHA b3445d9View commit details -
CanBeNonNullable will now ignore params that are involved in an elvis…
… operator expression
Configuration menu - View commit details
-
Copy full SHA for 9d22662 - Browse repository at this point
Copy the full SHA 9d22662View commit details -
CanBeNonNullable will now ignore single expression calls where the re…
…ceiver is not one of the nullable params
Configuration menu - View commit details
-
Copy full SHA for c69f3c4 - Browse repository at this point
Copy the full SHA c69f3c4View commit details
Commits on Jan 4, 2022
-
Simplified checks for single-expression functions; Consolidated param…
… tests in CanBeNonNullableSpec.kt
Configuration menu - View commit details
-
Copy full SHA for f9e938e - Browse repository at this point
Copy the full SHA f9e938eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08bc3fe - Browse repository at this point
Copy the full SHA 08bc3feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f07ecc - Browse repository at this point
Copy the full SHA 9f07eccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9875284 - Browse repository at this point
Copy the full SHA 9875284View commit details