1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-01 14:20:16 +02:00

Updated Coding style policy (markdown)

LogMANOriginal
2018-11-05 12:58:43 +01:00
parent dc83991cf5
commit f221811e5d

@@ -15,6 +15,18 @@ RSS-Bridge uses tabs for indentation on all PHP files in the repository (except
_Reference_: [`Generic.WhiteSpace.DisallowSpaceIndent`](https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php)
# Add spaces around the concatenation operator
The concatenation operator should have one space on both sides in order to improve readability.
<rule ref="Squiz.Strings.ConcatenationSpacing">
<properties>
<property name="spacing" value="1"/>
<property name="ignoreNewlines" value="true"/>
</properties>
</rule>
# Maximum line length
One line of code should have no more than **80 characters** (soft limit) and must never exceed **120 characters** (hard limit).