Fix phpcs
This commit is contained in:
parent
ebc3210308
commit
0670a00b83
@ -341,8 +341,7 @@ foreach ($bankcateg->fetchAll() as $bankcategory) {
|
|||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
if ($action == 'create') {
|
if ($action == 'create') {
|
||||||
// Update fields properties in realtime
|
// Update fields properties in realtime
|
||||||
if (!empty($conf->use_javascript_ajax))
|
if (!empty($conf->use_javascript_ajax)) {
|
||||||
{
|
|
||||||
print "\n".'<script type="text/javascript" language="javascript">';
|
print "\n".'<script type="text/javascript" language="javascript">';
|
||||||
print '$(document).ready(function () {
|
print '$(document).ready(function () {
|
||||||
setPaymentType();
|
setPaymentType();
|
||||||
|
|||||||
@ -356,8 +356,7 @@ if ($action == 'create') {
|
|||||||
// Company
|
// Company
|
||||||
if (!empty($conf->societe->enabled) && !empty($conf->global->DONATION_USE_THIRDPARTIES)) {
|
if (!empty($conf->societe->enabled) && !empty($conf->global->DONATION_USE_THIRDPARTIES)) {
|
||||||
// Thirdparty
|
// Thirdparty
|
||||||
if ($soc->id > 0)
|
if ($soc->id > 0) {
|
||||||
{
|
|
||||||
print '<td class="fieldrequired">'.$langs->trans('ThirdParty').'</td>';
|
print '<td class="fieldrequired">'.$langs->trans('ThirdParty').'</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $soc->getNomUrl(1);
|
print $soc->getNomUrl(1);
|
||||||
|
|||||||
@ -78,8 +78,7 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function setUpBeforeClass()
|
public static function setUpBeforeClass() {
|
||||||
{
|
|
||||||
global $conf,$user,$langs,$db;
|
global $conf,$user,$langs,$db;
|
||||||
|
|
||||||
if (getServerTimeZoneString() != 'Europe/Paris' && getServerTimeZoneString() != 'Europe/Berlin') {
|
if (getServerTimeZoneString() != 'Europe/Paris' && getServerTimeZoneString() != 'Europe/Berlin') {
|
||||||
@ -96,8 +95,7 @@ class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function tearDownAfterClass()
|
public static function tearDownAfterClass() {
|
||||||
{
|
|
||||||
global $conf,$user,$langs,$db;
|
global $conf,$user,$langs,$db;
|
||||||
$db->rollback();
|
$db->rollback();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user