diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39edbc3496b..c7655592983 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/htdocs/product/stats/reception.php b/htdocs/product/stats/reception.php index 00ae9a1bf16..00ebe832c98 100644 --- a/htdocs/product/stats/reception.php +++ b/htdocs/product/stats/reception.php @@ -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); diff --git a/htdocs/product/stats/supplier_proposal.php b/htdocs/product/stats/supplier_proposal.php index e8976ff8ff3..df959f1b729 100644 --- a/htdocs/product/stats/supplier_proposal.php +++ b/htdocs/product/stats/supplier_proposal.php @@ -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); diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 6d0aeceb82b..9c174633309 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -114,7 +114,6 @@ parameters: - '# (dol_print_error|get_htmloutput_mesg|dolGetButtonTitle|dol_htmloutput_errors|dol_htmloutput_mesg) expects array