Skip to content

Commit fbdecb7

Browse files
committed
Multi-line call parameters on its own line
1 parent bfcf576 commit fbdecb7

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

skel/file/classes_privacy_provider.mustache

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,12 @@ class provider implements{{{ privacy._implementedinterfaces }}}{{# privacy.usele
203203
${{ shortname }} = get_user_preferences('{{ name }}', null, $userid);
204204

205205
if (${{ shortname }} !== null) {
206-
writer::export_user_preference('{{ component }}', '{{ name }}', ${{ shortname }},
207-
get_string('{{ stringid }}', '{{ component }}'));
206+
writer::export_user_preference(
207+
'{{ component }}',
208+
'{{ name }}',
209+
${{ shortname }},
210+
get_string('{{ stringid }}', '{{ component }}')
211+
);
208212
}
209213
{{/ privacy._metauserpreferences }}
210214
}

skel/file/cli.mustache

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@
3939
{{/ common/boilerplate_php }}
4040

4141
// Get the cli options.
42-
[$options, $unrecognized] = cli_get_params([
43-
'help' => false,
44-
],
45-
[
46-
'h' => 'help',
47-
]);
42+
[$options, $unrecognized] = cli_get_params(
43+
[
44+
'help' => false,
45+
],
46+
[
47+
'h' => 'help',
48+
]
49+
);
4850

4951
$help =
5052
"

0 commit comments

Comments
 (0)