Boolean literal argument without parameter name

Last modified: 03 December 2024

Reports call arguments with Boolean type without explicit parameter names specified.

When multiple boolean literals are passed sequentially, it's easy to forget parameter ordering that could lead to mistakes. Explicit parameter names allow for easier code reading and understanding.

Example:

The quick-fix adds missing parameter names: