Skip to content

Files

Latest commit

 

History

History
15 lines (8 loc) · 482 Bytes

SlevomatCodingStandard.PHP.UselessParentheses.md

File metadata and controls

15 lines (8 loc) · 482 Bytes

Pattern: Unnecessary parentheses

Issue: -

Description

Looks for useless parentheses.

Rule provides the following settings:

  • ignoreComplexTernaryConditions (defaults to false): ignores complex ternary conditions - condition must contain &&, || etc. or end of line.

Further Reading