fix phpstan (#30986)

* fix phpstan

* fix phpstan
This commit is contained in:
Frédéric FRANCE 2024-09-17 00:32:41 +02:00 committed by GitHub
parent 763405a34c
commit a5190ac613
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View file

@ -10,16 +10,17 @@ jobs:
phan:
uses: ./.github/workflows/phan.yml
secrets: inherit
needs: [pre-commit]
with:
gh_event: ${{ github.event_name }}
phpstan:
uses: ./.github/workflows/phpstan.yml
secrets: inherit
needs: [pre-commit, phan]
needs: [pre-commit]
with:
gh_event: ${{ github.event_name }}
windows-ci:
needs: [pre-commit, phan]
needs: [pre-commit, phpstan, phan]
secrets: inherit
uses: ./.github/workflows/windows-ci.yml
with:

View file

@ -100,7 +100,7 @@ if ($id > 0 || !empty($ref)) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}
llxHeader('', '', $langs->trans("CardProduct".$product->type), '', 0, 0, 0, '', '', '', 'mod-product page-stats_reception');
llxHeader('', '', $langs->trans("CardProduct".$product->type), '', 0, 0, '', '', '', '', 'mod-product page-stats_reception');
if ($result > 0) {
$head = product_prepare_head($product);

View file

@ -100,7 +100,7 @@ if ($id > 0 || !empty($ref)) {
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}
llxHeader("", "", $langs->trans("CardProduct".$product->type), '', 0, 0, 0, '', '', '', 'mod-product page-stats_supplier_proposal');
llxHeader("", "", $langs->trans("CardProduct".$product->type), '', 0, 0, '', '', '', '', 'mod-product page-stats_supplier_proposal');
if ($result > 0) {
$head = product_prepare_head($product);

View file

@ -114,7 +114,6 @@ parameters:
- '# (dol_print_error|get_htmloutput_mesg|dolGetButtonTitle|dol_htmloutput_errors|dol_htmloutput_mesg) expects array<string#'
- '# getNav expects array#'
- '# getCommonSubstitutionArray expects array#'
- '# llxHeader expects array#'
- '# ajax_constantonoff expects array, null given.#'
- '# ldap_search expects array\|LDAP#'
- '# ajax_combobox expects array#'