Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/control-flow/prefer-combined-isset

In the code-quality set. Safe fix.

What it does

Using isset($var) && multiple times should be done in one call.

Configuration

[lint.rules]
"control-flow/prefer-combined-isset" = "error"

To skip it in some files, add an override or a @pun-ignore-file comment.

Replaces

More lint/control-flow rules · Edit this page

Last updated on

Was this page helpful?