diff --git a/dev/build/phpstan/phpstan-baseline.neon b/dev/build/phpstan/phpstan-baseline.neon index 02f8182b6d4..463b73379c3 100644 --- a/dev/build/phpstan/phpstan-baseline.neon +++ b/dev/build/phpstan/phpstan-baseline.neon @@ -13428,54 +13428,12 @@ parameters: count: 1 path: ../../../htdocs/core/modules/fichinter/mod_pacific.php - - - message: '#^Parameter \#3 \$tab_height of method pdf_standard_evaluation\:\:_tableau\(\) expects int, float given\.$#' - identifier: argument.type - count: 6 - path: ../../../htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php - - message: '#^Property CommonObject\:\:\$entity \(int\) in isset\(\) is not nullable\.$#' identifier: isset.property count: 2 path: ../../../htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php - - - message: '#^Property pdf_standard_evaluation\:\:\$posxnotes has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php - - - - message: '#^Property pdf_standard_evaluation\:\:\$posxpiece has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php - - - - message: '#^Property pdf_standard_evaluation\:\:\$posxrankemp has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php - - - - message: '#^Property pdf_standard_evaluation\:\:\$posxrequiredrank has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php - - - - message: '#^Property pdf_standard_evaluation\:\:\$posxresult has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php - - - - message: '#^Property pdf_standard_evaluation\:\:\$posxskill has no type specified\.$#' - identifier: missingType.property - count: 1 - path: ../../../htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php - - message: '#^Ternary operator condition is always false\.$#' identifier: ternary.alwaysFalse diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index 05f86c5989d..7b6c8c704a3 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -4,11 +4,10 @@ * Copyright (C) 2004-2020 Laurent Destailleur * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2019 Nicolas ZABOURI - * Copyright (C) 2021-2023 Frédéric France + * Copyright (C) 2021-2025 Frédéric France * Copyright (C) 2021-2023 Waël Almoman * Copyright (C) 2024 MDW * Copyright (C) 2024 Alexandre Spangaro - * Copyright (C) 2024 Frédéric France * * 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 diff --git a/htdocs/api/class/api.class.php b/htdocs/api/class/api.class.php index 433f08bcd80..ceae1f08b0c 100644 --- a/htdocs/api/class/api.class.php +++ b/htdocs/api/class/api.class.php @@ -1,8 +1,8 @@ - * Copyright (C) 2016 Laurent Destailleur - * Copyright (C) 2020 Frédéric France - * Copyright (C) 2024 MDW +/* Copyright (C) 2015 Jean-François Ferry + * Copyright (C) 2016 Laurent Destailleur + * Copyright (C) 2020-2025 Frédéric France + * Copyright (C) 2024 MDW * * 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 diff --git a/htdocs/comm/mailing/class/html.formadvtargetemailing.class.php b/htdocs/comm/mailing/class/html.formadvtargetemailing.class.php index c30b2929ec1..7dda0a31fa9 100644 --- a/htdocs/comm/mailing/class/html.formadvtargetemailing.class.php +++ b/htdocs/comm/mailing/class/html.formadvtargetemailing.class.php @@ -1,7 +1,7 @@ - * Copyright (C) 2019 Frédéric France - * Copyright (C) 2024 MDW + * Copyright (C) 2019-2025 Frédéric France + * Copyright (C) 2024 MDW * * 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 diff --git a/htdocs/core/boxes/box_graph_nb_tickets_type.php b/htdocs/core/boxes/box_graph_nb_tickets_type.php index adbf831c989..4e6d69a298a 100644 --- a/htdocs/core/boxes/box_graph_nb_tickets_type.php +++ b/htdocs/core/boxes/box_graph_nb_tickets_type.php @@ -1,9 +1,9 @@ - * 2016 Christophe Battarel - * Copyright (C) 2019-2021 Frédéric France - * Copyright (C) 2024 MDW + * Copyright (C) 2016 Christophe Battarel + * Copyright (C) 2019-2025 Frédéric France + * Copyright (C) 2024 MDW * * 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 diff --git a/htdocs/core/boxes/box_graph_new_vs_close_ticket.php b/htdocs/core/boxes/box_graph_new_vs_close_ticket.php index f14889e34c9..1c29d20bcbf 100644 --- a/htdocs/core/boxes/box_graph_new_vs_close_ticket.php +++ b/htdocs/core/boxes/box_graph_new_vs_close_ticket.php @@ -1,9 +1,9 @@ - * 2016 Christophe Battarel - * Copyright (C) 2019-2021 Frédéric France - * Copyright (C) 2024 MDW + * Copyright (C) 2016 Christophe Battarel + * Copyright (C) 2019-2025 Frédéric France + * Copyright (C) 2024 MDW * * 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 diff --git a/htdocs/core/boxes/box_graph_ticket_by_severity.php b/htdocs/core/boxes/box_graph_ticket_by_severity.php index e45e114cc73..2eae2666c85 100644 --- a/htdocs/core/boxes/box_graph_ticket_by_severity.php +++ b/htdocs/core/boxes/box_graph_ticket_by_severity.php @@ -1,9 +1,9 @@ - * 2016 Christophe Battarel - * Copyright (C) 2019-2021 Frédéric France - * Copyright (C) 2024 MDW + * Copyright (C) 2016 Christophe Battarel + * Copyright (C) 2019-2025 Frédéric France + * Copyright (C) 2024 MDW * * 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 diff --git a/htdocs/core/boxes/box_last_knowledgerecord.php b/htdocs/core/boxes/box_last_knowledgerecord.php index 9f4d98999ac..325c8cb8683 100644 --- a/htdocs/core/boxes/box_last_knowledgerecord.php +++ b/htdocs/core/boxes/box_last_knowledgerecord.php @@ -1,9 +1,9 @@ - * Copyright (C) 2016 Christophe Battarel - * Copyright (C) 2018-2023 Frédéric France - * Copyright (C) 2024 MDW + * Copyright (C) 2013-2016 Jean-François FERRY + * Copyright (C) 2016 Christophe Battarel + * Copyright (C) 2018-2025 Frédéric France + * Copyright (C) 2024 MDW * * 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 diff --git a/htdocs/core/lib/expensereport.lib.php b/htdocs/core/lib/expensereport.lib.php index 3f13f3a6e44..5be6fe5e71c 100644 --- a/htdocs/core/lib/expensereport.lib.php +++ b/htdocs/core/lib/expensereport.lib.php @@ -1,7 +1,7 @@ - * Copyright (C) 2022 Frédéric France - * Copyright (C) 2024 MDW +/* Copyright (C) 2011 Regis Houssin + * Copyright (C) 2022-2025 Frédéric France + * Copyright (C) 2024 MDW * * 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 diff --git a/htdocs/core/lib/socialnetwork.lib.php b/htdocs/core/lib/socialnetwork.lib.php index a195534d522..bc87d301c16 100644 --- a/htdocs/core/lib/socialnetwork.lib.php +++ b/htdocs/core/lib/socialnetwork.lib.php @@ -1,9 +1,9 @@ - * Copyright (C) 2019 Alexandre Spangaro + * Copyright (C) 2015 Charlie BENKE + * Copyright (C) 2019 Alexandre Spangaro * Copyright (C) 2021 Gauthier VERDOL - * Copyright (C) 2023 Frédéric France + * Copyright (C) 2023-2025 Frédéric France * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/core/lib/supplier_proposal.lib.php b/htdocs/core/lib/supplier_proposal.lib.php index 3ba952cce74..29c85b465f8 100644 --- a/htdocs/core/lib/supplier_proposal.lib.php +++ b/htdocs/core/lib/supplier_proposal.lib.php @@ -1,7 +1,7 @@ - * Copyright (C) 2005-2012 Regis Houssin - * Copyright (C) 2022 Frédéric France +/* Copyright (C) 2006-2010 Laurent Destailleur + * Copyright (C) 2005-2012 Regis Houssin + * Copyright (C) 2022-2025 Frédéric France * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify diff --git a/htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php b/htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php index 3869d6fd57b..e0d8afd8668 100644 --- a/htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php +++ b/htdocs/core/modules/hrm/doc/pdf_standard_evaluation.modules.php @@ -2,7 +2,7 @@ /* Copyright (C) 2015 Laurent Destailleur * Copyright (C) 2015 Alexandre Spangaro * Copyright (C) 2016-2023 Philippe Grand - * Copyright (C) 2018-2024 Frédéric France + * Copyright (C) 2018-2025 Frédéric France * Copyright (C) 2018 Francis Appels * Copyright (C) 2019 Markus Welters * Copyright (C) 2019 Rafael Ingenleuf @@ -72,12 +72,39 @@ class pdf_standard_evaluation extends ModelePDFEvaluation */ public $version = 'dolibarr'; + /** + * @var float + */ public $posxpiece; + + /** + * @var float + */ public $posxskill; + + /** + * @var float + */ public $posxrankemp; + + /** + * @var float + */ public $posxrequiredrank; + + /** + * @var float + */ public $posxresult; + + /** + * @var float + */ public $postotalht; + + /** + * @var float + */ public $posxnotes; @@ -642,9 +669,9 @@ class pdf_standard_evaluation extends ModelePDFEvaluation * Show table for lines * * @param TCPDF $pdf Object PDF - * @param int $tab_top Tab top - * @param int $tab_height Tab height - * @param int $nexY next y + * @param float $tab_top Tab top + * @param float $tab_height Tab height + * @param float $nexY next y * @param Translate $outputlangs Output langs * @param int $hidetop 1=Hide top bar of array and title, 0=Hide nothing, -1=Hide only title * @param int $hidebottom Hide bottom bar of array