Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 595 Bytes

WordPress.WhiteSpace.OperatorSpacing.md

File metadata and controls

14 lines (8 loc) · 595 Bytes

Pattern: Malformed operator spacing

Issue: -

Description

Verifies operator spacing, uses the Squiz sniff, but additionally also sniffs for the ! (boolean not) operator.

Always put spaces after commas, and on both sides of logical, comparison, string and assignment operators.

Further Reading