Concatenation should be spaced according to configuration.
Spacing to apply around concatenation operator.
Allowed values: 'none'
and 'one'
Default value: 'none'
Default configuration.
--- Original
+++ New
<?php
-$foo = 'bar' . 3 . 'baz'.'qux';
+$foo = 'bar'. 3 .'baz'.'qux';
With configuration: ['spacing' => 'none']
.
--- Original
+++ New
<?php
-$foo = 'bar' . 3 . 'baz'.'qux';
+$foo = 'bar'. 3 .'baz'.'qux';
With configuration: ['spacing' => 'one']
.
--- Original
+++ New
<?php
-$foo = 'bar' . 3 . 'baz'.'qux';
+$foo = 'bar' . 3 . 'baz' . 'qux';
The rule is part of the following rule sets:
@PER with config:
['spacing' => 'one']
@PER-CS with config:
['spacing' => 'one']
@PER-CS2.0 with config:
['spacing' => 'one']