Skip to content

Commit a9a83e0

Browse files
author
Vincent Langlet
committed
✨ Do not require space for concatenation
1 parent cbe1637 commit a9a83e0

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

Symfony3Custom/ruleset.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
<!-- From endouble repo -->
5151
<rule ref="Squiz.Strings.ConcatenationSpacing">
5252
<properties>
53-
<property name="spacing" value="1"/>
5453
<property name="ignoreNewlines" value="true" />
5554
</properties>
5655
</rule>

docs/standards.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ We imported the [PSR2 Standard](./psr2.md) with this override:
2525

2626
We mainly respect the [Symfony Standard](./symfony.md) but
2727

28-
- We do not respect these rules:
28+
- We do not respect this rule:
2929

30-
- Add no space around the concatenation (`.`) operator
3130
- Declare all the arguments on the same line as the method/function name, no matter how many arguments there are
3231

3332
- We do not currently check these rules:

docs/standards/symfony.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,12 @@ From [symfony standard](http://symfony.com/doc/current/contributing/code/standar
99
```
1010

1111
- Add a single space around binary operators (`==`, `&&`, `...`)
12+
with the exception of the concatenation (`.`) operator
1213

1314
```
1415
<rule ref="Squiz.WhiteSpace.OperatorSpacing" />
15-
```
16-
17-
We do not respect the exception of the concatenation (`.`) operator
18-
```
1916
<rule ref="Squiz.Strings.ConcatenationSpacing">
2017
<properties>
21-
<property name="spacing" value="1"/>
2218
<property name="ignoreNewlines" value="true" />
2319
</properties>
2420
</rule>

0 commit comments

Comments
 (0)