diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index a337d40ae3f2163fbb6f20c10c9bd196fb8b735d..aecbd1484995afa9b0171c34f8db29bddee6661c 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -15,11 +15,6 @@ parameters:
 			count: 1
 			path: action/acceder_document.php
 
-		-
-			message: "#^Function http_status not found\\.$#"
-			count: 2
-			path: action/acceder_document.php
-
 		-
 			message: "#^Function include_spip not found\\.$#"
 			count: 5
@@ -82,7 +77,7 @@ parameters:
 
 		-
 			message: "#^Function deplacer_fichier_upload not found\\.$#"
-			count: 1
+			count: 2
 			path: action/ajouter_documents.php
 
 		-
@@ -107,12 +102,12 @@ parameters:
 
 		-
 			message: "#^Function set_spip_doc not found\\.$#"
-			count: 1
+			count: 2
 			path: action/ajouter_documents.php
 
 		-
 			message: "#^Function spip_log not found\\.$#"
-			count: 11
+			count: 12
 			path: action/ajouter_documents.php
 
 		-
@@ -127,12 +122,12 @@ parameters:
 
 		-
 			message: "#^Function sql_getfetsel not found\\.$#"
-			count: 1
+			count: 2
 			path: action/ajouter_documents.php
 
 		-
 			message: "#^Function sql_quote not found\\.$#"
-			count: 2
+			count: 3
 			path: action/ajouter_documents.php
 
 		-
@@ -795,41 +790,6 @@ parameters:
 			count: 1
 			path: base/medias.php
 
-		-
-			message: "#^Function _T not found\\.$#"
-			count: 1
-			path: formulaires/changer_fichier_document.php
-
-		-
-			message: "#^Function _request not found\\.$#"
-			count: 2
-			path: formulaires/changer_fichier_document.php
-
-		-
-			message: "#^Function charger_fonction not found\\.$#"
-			count: 4
-			path: formulaires/changer_fichier_document.php
-
-		-
-			message: "#^Function get_spip_doc not found\\.$#"
-			count: 1
-			path: formulaires/changer_fichier_document.php
-
-		-
-			message: "#^Function spip_unlink not found\\.$#"
-			count: 1
-			path: formulaires/changer_fichier_document.php
-
-		-
-			message: "#^Function sql_fetsel not found\\.$#"
-			count: 1
-			path: formulaires/changer_fichier_document.php
-
-		-
-			message: "#^Function sql_getfetsel not found\\.$#"
-			count: 1
-			path: formulaires/changer_fichier_document.php
-
 		-
 			message: "#^Function _T not found\\.$#"
 			count: 1
@@ -927,7 +887,7 @@ parameters:
 
 		-
 			message: "#^Function sql_getfetsel not found\\.$#"
-			count: 1
+			count: 2
 			path: formulaires/editer_document.php
 
 		-
@@ -1145,6 +1105,11 @@ parameters:
 			count: 1
 			path: inc/documenter_objet.php
 
+		-
+			message: "#^Function test_espace_prive not found\\.$#"
+			count: 1
+			path: inc/documenter_objet.php
+
 		-
 			message: "#^Function _T not found\\.$#"
 			count: 1
@@ -1217,7 +1182,7 @@ parameters:
 
 		-
 			message: "#^Function inserer_attribut not found\\.$#"
-			count: 3
+			count: 2
 			path: inc/documents.php
 
 		-
@@ -1797,7 +1762,7 @@ parameters:
 
 		-
 			message: "#^Function include_spip not found\\.$#"
-			count: 8
+			count: 9
 			path: medias_pipelines.php
 
 		-
@@ -1812,7 +1777,7 @@ parameters:
 
 		-
 			message: "#^Function objet_trouver_liens not found\\.$#"
-			count: 1
+			count: 2
 			path: medias_pipelines.php
 
 		-
@@ -1965,31 +1930,6 @@ parameters:
 			count: 1
 			path: puce_statut/document.php
 
-		-
-			message: "#^Function ecrire_fichier not found\\.$#"
-			count: 1
-			path: sanitizer/svg.php
-
-		-
-			message: "#^Function include_spip not found\\.$#"
-			count: 2
-			path: sanitizer/svg.php
-
-		-
-			message: "#^Function spip_log not found\\.$#"
-			count: 2
-			path: sanitizer/svg.php
-
-		-
-			message: "#^Function svg_charger not found\\.$#"
-			count: 1
-			path: sanitizer/svg.php
-
-		-
-			message: "#^Function svg_force_viewBox_px not found\\.$#"
-			count: 1
-			path: sanitizer/svg.php
-
 		-
 			message: "#^Function include_spip not found\\.$#"
 			count: 1