You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MO4 Coding Standard is an extension to the [Symfony Coding Standard](http://symfony.com/doc/current/contributing/code/standards.html) and adds following rules:
15
+
16
+
* short tags "[...]" must be used instead of "array(...)",
17
+
* in associates arrays, the "=>" operator must be aligned,
18
+
* in arrays, the key and '=>' operator must be on the same line.
19
+
* each consecutive variable assignements must align on gthe assigment operator,
20
+
* use statements must be sorted,
21
+
* you should use the imported class name, whenever it was imported with a use statement,
22
+
* variables in double quoted strings must be surrounded by { }, e.g. "{$VAR}" instead of "$VAR",
23
+
* sprintf or "{$VAR1} {$VAR2}" must be used insted of the concat operator, concat opetor are only allowed to concat constant an multi line strings,
24
+
* a white space is requried after each cast opetor, e.g. "(int) $value" instead of "(int)$value",
0 commit comments