If the line declaring an array spans longer than 80 characters, each element should be broken into its own line.
This commit is contained in:
parent
84db82b9b9
commit
62e1e7ecdd
|
@ -61,7 +61,13 @@ function farm_install_modules(&$install_state) {
|
|||
// Assemble the batch operation for installing modules.
|
||||
$operations = [];
|
||||
foreach ($modules as $module => $weight) {
|
||||
$operations[] = ['_farm_install_module_batch', [$module, $files[$module]->info['name']]];
|
||||
$operations[] = [
|
||||
'_farm_install_module_batch',
|
||||
[
|
||||
$module,
|
||||
$files[$module]->info['name'],
|
||||
],
|
||||
];
|
||||
}
|
||||
$batch = [
|
||||
'operations' => $operations,
|
||||
|
|
Loading…
Reference in New Issue