mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Merge pull request #28825 from mdeweerd/fix/PhanNoopBinaryOperator
Fix & Enable PhanNoopBinaryOperator
This commit is contained in:
@@ -527,7 +527,7 @@ return [
|
||||
'PhanTypeMismatchBitwiseBinaryOperands',
|
||||
'PhanTypeMismatchDimEmpty',
|
||||
'PhanTypeSuspiciousEcho',
|
||||
'PhanNoopBinaryOperator',
|
||||
// 'PhanNoopBinaryOperator',
|
||||
// 'PhanTypeInvalidBitwiseBinaryOperator',
|
||||
// 'PhanPluginDescriptionlessCommentOnFunction',
|
||||
'PhanPluginPHPDocInWrongComment',
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2019 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
* Copyright (C) 2019-2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -260,9 +261,7 @@ class mod_codecompta_digitaria extends ModeleAccountancyCode
|
||||
|
||||
$i++;
|
||||
}
|
||||
} else {
|
||||
$disponibility == 0;
|
||||
}
|
||||
} // else { $disponibility = 0; /* Already set */ }
|
||||
}
|
||||
|
||||
if ($disponibility == 0) {
|
||||
|
||||
@@ -2385,7 +2385,7 @@ class EmailCollector extends CommonObject
|
||||
$operationslog .= '<br>We have this data to search thirdparty: id='.$idtouseforthirdparty.', email='.$emailtouseforthirdparty.', name='.$nametouseforthirdparty.', name_alias='.$namealiastouseforthirdparty;
|
||||
|
||||
$tmpobject = new stdClass();
|
||||
$tmpobject->element == 'generic';
|
||||
$tmpobject->element = 'generic';
|
||||
$tmpobject->id = $idtouseforthirdparty;
|
||||
$tmpobject->name = $nametouseforthirdparty;
|
||||
$tmpobject->name_alias = $namealiastouseforthirdparty;
|
||||
|
||||
@@ -2398,15 +2398,15 @@ if ($dirins && GETPOST('action') == 'update_right' && GETPOST('modifyright') &&
|
||||
|
||||
if ($label == "Read objects of $module" && $crud != "read") {
|
||||
$crud = "read";
|
||||
$label == "Read objects of $module";
|
||||
// $label = "Read objects of $module";
|
||||
}
|
||||
if ($label == "Create/Update objects of $module" && $crud != "write") {
|
||||
$crud = "write";
|
||||
$label == "Create/Update objects of $module";
|
||||
// $label = "Create/Update objects of $module";
|
||||
}
|
||||
if ($label == "Delete objects of $module" && $crud != "delete") {
|
||||
$crud = "delete";
|
||||
$label == "Delete objects of $module";
|
||||
// $label = "Delete objects of $module";
|
||||
}
|
||||
|
||||
$permissions = $moduleobj->rights;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2008-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -146,8 +147,8 @@ function print_paybox_redirect($PRICE, $CURRENCY, $EMAIL, $urlok, $urlko, $TAG)
|
||||
"&PBX_OUTPUT=".$IBS_OUTPUT.
|
||||
"&PBX_SOURCE=".$PBX_SOURCE.
|
||||
"&PBX_TYPEPAIEMENT=".$PBX_TYPEPAIEMENT;
|
||||
"&PBX_HASH=".$PBX_HASH;
|
||||
"&PBX_TIME=".$PBX_TIME;
|
||||
// "&PBX_HASH=".$PBX_HASH;
|
||||
// "&PBX_TIME=".$PBX_TIME;
|
||||
|
||||
$binKey = pack("H*", dol_decode($conf->global->PAYBOX_HMAC_KEY));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user