Enhance phpstan
This commit is contained in:
parent
f368ef377b
commit
b6a1c92fc0
@ -806,7 +806,6 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
|
|||||||
print '<input type="hidden" name="action" value="synccustomertostripe">';
|
print '<input type="hidden" name="action" value="synccustomertostripe">';
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
print '<input type="hidden" name="socid" value="'.$object->id.'">';
|
print '<input type="hidden" name="socid" value="'.$object->id.'">';
|
||||||
print '<input type="hidden" name="companybankid" value="'.$rib->id.'">';
|
|
||||||
print '<input type="submit" class="button" name="syncstripecustomer" value="'.$langs->trans("CreateCustomerOnStripe").'">';
|
print '<input type="submit" class="button" name="syncstripecustomer" value="'.$langs->trans("CreateCustomerOnStripe").'">';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -139,9 +139,6 @@ parameters:
|
|||||||
reportMagicMethods: false
|
reportMagicMethods: false
|
||||||
reportMagicProperties: false
|
reportMagicProperties: false
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
-
|
|
||||||
message: '#Call to an undefined method abcdef#'
|
|
||||||
path: %currentWorkingDirectory%/dirtoignoreerror/*
|
|
||||||
- '#Undefined variable: \$langs#'
|
- '#Undefined variable: \$langs#'
|
||||||
- '#Undefined variable: \$user#'
|
- '#Undefined variable: \$user#'
|
||||||
- '#Undefined variable: \$db#'
|
- '#Undefined variable: \$db#'
|
||||||
@ -150,6 +147,8 @@ parameters:
|
|||||||
- '#Undefined variable: \$mysoc#'
|
- '#Undefined variable: \$mysoc#'
|
||||||
- '#Undefined variable: \$error#'
|
- '#Undefined variable: \$error#'
|
||||||
- '#Undefined variable: \$errors#'
|
- '#Undefined variable: \$errors#'
|
||||||
|
- message: '#Undefined variable: \$object#'
|
||||||
|
path: %currentWorkingDirectory%/htdocs/societe/tpl
|
||||||
internalErrorsCountLimit: 50
|
internalErrorsCountLimit: 50
|
||||||
cache:
|
cache:
|
||||||
nodesByFileCountMax: 512
|
nodesByFileCountMax: 512
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user