Fix with php-cs-fixer

This commit is contained in:
Laurent Destailleur
2023-12-04 11:41:14 +01:00
parent de7d3c2bf8
commit 987d6c41b9
151 changed files with 1183 additions and 709 deletions

View File

@@ -84,7 +84,9 @@ if ($action == 'updateMask') {
$commande->initAsSpecimen();
// Search template files
$file = ''; $classname = ''; $filefound = 0;
$file = '';
$classname = '';
$filefound = 0;
$dirmodels = array_merge(array('/'), (array) $conf->modules_parts['models']);
foreach ($dirmodels as $reldir) {
$file = dol_buildpath($reldir."core/modules/commande/doc/pdf_".$modele.".modules.php", 0);
@@ -437,7 +439,7 @@ foreach ($dirmodels as $reldir) {
if ($modulequalified) {
print '<tr class="oddeven"><td width="100">';
print (empty($module->name) ? $name : $module->name);
print(empty($module->name) ? $name : $module->name);
print "</td><td>\n";
if (method_exists($module, 'info')) {
print $module->info($langs);