diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 8f86970a0a7b4bd87edd5cbd2cce8f095c0d4022..a337d40ae3f2163fbb6f20c10c9bd196fb8b735d 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -75,6 +75,11 @@ parameters: count: 3 path: action/ajouter_documents.php + - + message: "#^Function corriger_extension not found\\.$#" + count: 1 + path: action/ajouter_documents.php + - message: "#^Function deplacer_fichier_upload not found\\.$#" count: 1 @@ -207,6 +212,11 @@ parameters: - message: "#^Function tester_url_absolue not found\\.$#" + count: 1 + path: action/copier_local.php + + - + message: "#^Function valider_url_distante not found\\.$#" count: 2 path: action/copier_local.php @@ -995,6 +1005,11 @@ parameters: count: 1 path: formulaires/joindre_document.php + - + message: "#^Function corriger_extension not found\\.$#" + count: 1 + path: formulaires/joindre_document.php + - message: "#^Function date_interface not found\\.$#" count: 1 @@ -1272,7 +1287,7 @@ parameters: - message: "#^Function _T not found\\.$#" - count: 16 + count: 15 path: inc/joindre_document.php - @@ -1290,6 +1305,11 @@ parameters: count: 1 path: inc/joindre_document.php + - + message: "#^Function corriger_extension not found\\.$#" + count: 2 + path: inc/joindre_document.php + - message: "#^Function creer_repertoire_documents not found\\.$#" count: 1 @@ -1355,11 +1375,6 @@ parameters: count: 2 path: inc/joindre_document.php - - - message: "#^Undefined variable\\: \\$msg$#" - count: 1 - path: inc/joindre_document.php - - message: "#^Function charger_fonction not found\\.$#" count: 1 @@ -1615,11 +1630,6 @@ parameters: count: 11 path: medias_autoriser.php - - - message: "#^Function autoriser_document_tailler_dist\\(\\) should return bool but return statement is missing\\.$#" - count: 1 - path: medias_autoriser.php - - message: "#^Function autoriser_orphelins_supprimer_dist\\(\\) should return bool but return statement is missing\\.$#" count: 1