You are here

public property OperatorSpacingSniff::$ignoreNewlines in Coder 8.2

Allow newlines instead of spaces.

Type: boolean

File

coder_sniffer/Drupal/Sniffs/WhiteSpace/OperatorSpacingSniff.php, line 42

Class

OperatorSpacingSniff
Overrides Squiz_Sniffs_WhiteSpace_OperatorSpacingSniff to allow the plus operator on numbers like "$i = +1;".

Namespace

Drupal\Sniffs\WhiteSpace

Code

public $ignoreNewlines = true;