Fix: phpcheckstyle from phpcs 1.5.5 (closing tags and & char on

parameter).
This commit is contained in:
Laurent Destailleur 2014-09-27 17:13:15 +02:00
parent e8b7c9c6bd
commit 5fdd798e91
57 changed files with 42 additions and 98 deletions

View File

@ -534,4 +534,3 @@ print '<br>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -143,4 +143,3 @@ print '</table>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -329,7 +329,7 @@ if ($virtualdiffersfromphysical)
print '</table>'; print '</table>';
} }
$db->close();
llxFooter(); llxFooter();
?>
$db->close();

View File

@ -124,4 +124,5 @@ else
} }
llxFooter(); llxFooter();
?>
$db->close();

View File

@ -130,4 +130,3 @@ else
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -379,4 +379,3 @@ print '</table>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -118,5 +118,3 @@ print info_admin($langs->trans("SystemInfoDesc")).'<br>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -350,4 +350,3 @@ print "<br><br>";
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -166,4 +166,3 @@ if (preg_match('/^confirm/i',$choice))
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -174,4 +174,3 @@ if (! empty($result['return']))
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -69,4 +69,3 @@ print $langs->trans("SeeAlso").': <a href="'.$urlwikitranslatordoc.'" target="_b
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -146,4 +146,3 @@ print '</table>';
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -75,4 +75,3 @@ include_once 'affPied.php';
print '</div></div></div>'."\n"; print '</div></div></div>'."\n";
print '</body></html>'."\n"; print '</body></html>'."\n";
?>

View File

@ -191,5 +191,3 @@ $obj_facturation->paiementLe('RESET');
// Affichage des templates // Affichage des templates
require ('tpl/facturation1.tpl.php'); require ('tpl/facturation1.tpl.php');
?>

View File

@ -78,4 +78,3 @@ if (!empty($_SESSION["CASHDESK_ID_WAREHOUSE"]) && ! empty($conf->stock->enabled)
} }
print '</li></ul>'; print '</li></ul>';
print '</div>'; print '</div>';
?>

View File

@ -520,4 +520,3 @@ if($object->type == 4)
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -1071,4 +1071,3 @@ class ActionComm extends CommonObject
} }
?>

View File

@ -933,4 +933,3 @@ dol_htmloutput_mesg('',$mesgs);
// End of page // End of page
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -185,7 +185,7 @@ else
dol_print_error($db); dol_print_error($db);
} }
llxFooter();
$db->close(); $db->close();
llxFooter();
?>

View File

@ -420,4 +420,3 @@ elseif (file_exists($fileimagebis))
$db->close(); $db->close();
llxFooter(); llxFooter();
?>

View File

@ -229,5 +229,3 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO
} }
} }
?>

View File

@ -43,5 +43,3 @@ else if ($action == 'setnote_private' && ! empty($permissionnote) && ! GETPOST('
$result=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES),'_private'); $result=$object->update_note(dol_html_entity_decode(GETPOST('note_private'), ENT_QUOTES),'_private');
if ($result < 0) setEventMessage($object->error,'errors'); if ($result < 0) setEventMessage($object->error,'errors');
} }
?>

View File

@ -201,4 +201,3 @@ class dolprintIPP
return $ipp->printer_attributes; return $ipp->printer_attributes;
} }
} }
?>

View File

@ -50,4 +50,3 @@ function holiday_prepare_head($object)
return $head; return $head;
} }
?>

View File

@ -357,5 +357,3 @@ function measuring_units_string($unit,$measuring_style='')
return $measuring_units[$unit]; return $measuring_units[$unit];
} }
?>

View File

@ -59,5 +59,3 @@ function trip_prepare_head($object)
return $head; return $head;
} }
?>

View File

@ -342,4 +342,3 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
print '</table>'; print '</table>';
} }
?>

View File

@ -39,5 +39,3 @@ function check_user_password_empty($usertotest,$passwordtotest,$entitytotest)
return $login; return $login;
} }
?>

View File

@ -46,6 +46,3 @@ function check_user_password_forceuser($usertotest,$passwordtotest,$entitytotest
return $login; return $login;
} }
?>

View File

@ -43,6 +43,3 @@ function check_user_password_http($usertotest,$passwordtotest,$entitytotest)
return $login; return $login;
} }
?>

View File

@ -227,5 +227,3 @@ function check_user_password_ldap($usertotest,$passwordtotest,$entitytotest)
return $login; return $login;
} }
?>

View File

@ -112,5 +112,3 @@ function check_user_password_openid($usertotest,$passwordtotest,$entitytotest)
return $login; return $login;
} }
?>

View File

@ -430,5 +430,3 @@ function dol_auguria_showmenu($type_user, &$menuentry, &$listofmodulesforexterna
if (! $menuentry['perms']) return 2; // No permissions and user is external if (! $menuentry['perms']) return 2; // No permissions and user is external
return 1; return 1;
} }
?>

View File

@ -253,4 +253,3 @@ function propale_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0,
} }
} }
?>

View File

@ -131,7 +131,7 @@ else
print $langs->trans("ErrorUnknown"); print $langs->trans("ErrorUnknown");
} }
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -190,7 +190,8 @@ print '</form>';
dol_fiche_end(); dol_fiche_end();
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -167,7 +167,7 @@ AccountancyDashboard=Accountancy summary
ByProductsAndServices=By products and services ByProductsAndServices=By products and services
RefExt=External ref RefExt=External ref
ToCreateAPredefinedInvoice=To create a predefined invoice, create a standard invoice then, without validating it, click onto button "Convert to predefined invoice". ToCreateAPredefinedInvoice=To create a predefined invoice, create a standard invoice then, without validating it, click onto button "Convert to predefined invoice".
LinkedOrder=linked to order LinkedOrder=Link to order
ReCalculate=Recalculate ReCalculate=Recalculate
Mode1=Method 1 Mode1=Method 1
Mode2=Method 2 Mode2=Method 2

View File

@ -968,5 +968,3 @@ class LivraisonLigne
} }
} }
?>

View File

@ -250,4 +250,3 @@ function ajouter_sondage()
exit(); exit();
} }
?>

View File

@ -1083,4 +1083,3 @@ print '<a name="bas"></a>'."\n";
llxFooterSurvey(); llxFooterSurvey();
$db->close(); $db->close();
?>

View File

@ -209,7 +209,7 @@ if ($mode == 'test' && $user->admin)
dol_fiche_end(); dol_fiche_end();
llxFooter(); llxFooter();
$db->close(); $db->close();
?>

View File

@ -110,5 +110,3 @@ else
{ {
echo json_encode(array('nom'=>'ErrorBadParameter','label'=>'ErrorBadParameter','key'=>'ErrorBadParameter','value'=>'ErrorBadParameter')); echo json_encode(array('nom'=>'ErrorBadParameter','label'=>'ErrorBadParameter','key'=>'ErrorBadParameter','value'=>'ErrorBadParameter'));
} }
?>

View File

@ -706,4 +706,3 @@ abstract class ActionsCardCommon
} }
?>

View File

@ -338,4 +338,3 @@ class CommandeFournisseurTest extends PHPUnit_Framework_TestCase
} }
} }
?>

View File

@ -265,4 +265,3 @@ class CommandeTest extends PHPUnit_Framework_TestCase
} }
} }
?>

View File

@ -183,4 +183,3 @@ class CommonObjectTest extends PHPUnit_Framework_TestCase
return $result; return $result;
} }
} }
?>

View File

@ -233,4 +233,4 @@ class CompanyBankAccountTest extends PHPUnit_Framework_TestCase
} }
} }
?>

View File

@ -257,4 +257,3 @@ class EntrepotTest extends PHPUnit_Framework_TestCase
return; return;
} }
} }
?>

View File

@ -265,4 +265,4 @@ class ExportTest extends PHPUnit_Framework_TestCase
return true; return true;
} }
} }
?>

View File

@ -196,4 +196,3 @@ class FactureRecTest extends PHPUnit_Framework_TestCase
return $retAr; return $retAr;
} }
} }
?>

View File

@ -329,4 +329,4 @@ class FactureTest extends PHPUnit_Framework_TestCase
return $retAr; return $retAr;
} }
} }
?>

View File

@ -799,4 +799,4 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase
} }
} }
?>

View File

@ -265,4 +265,4 @@ class PropalTest extends PHPUnit_Framework_TestCase
} }
} }
?>

View File

@ -456,4 +456,4 @@ class SocieteTest extends PHPUnit_Framework_TestCase
} }
} }
?>

View File

@ -318,4 +318,3 @@ class UserTest extends PHPUnit_Framework_TestCase
return $retAr; return $retAr;
} }
} }
?>

View File

@ -181,4 +181,4 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
} }
} }
?>

View File

@ -181,4 +181,4 @@ class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
} }
} }
?>