-
Task
-
Resolution: Deferred
-
Minor
-
None
-
3.0
-
None
-
MOODLE_30_STABLE
Currently Code Checker does not allow code formatted like so:
$foo->func1()
|
->func2()
|
->func3();
|
This is not widely used in Moodle code, but it could with adoption of 3rd party libraries and it is often used with mocks in PHPUnit.
Goals of this ticket:
- Agree how we do support it (-> aligned vs existing wrapping rules).
- Decide if we allow it globally (+1) or restricted to tests dirs (-1).
- Implement it in the coding style documentation and code checker.
- has a non-specific relationship to
-
MDLSITE-2825 How to indent line with many object operators
- Closed
-
MDLSITE-2132 RFC: Clarify the line wrapping/indentation rules
- Resolved