Browse Source

Up baseline PhpStan

debian/latest
Matthieu Marcillaud 11 months ago
parent
commit
085aa5e551
  1. 50
      phpstan-baseline.neon

50
phpstan-baseline.neon

@ -15,21 +15,6 @@ parameters:
count: 1
path: ecrire/charsets/translit.php
-
message: "#^Function exec_puce_statut_args\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: ecrire/exec/puce_statut.php
-
message: "#^Function exec_puce_statut_dist\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: ecrire/exec/puce_statut.php
-
message: "#^Function message_crash_tables\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: ecrire/genie/maintenance.php
-
message: "#^Function fichier_copie_locale\\(\\) should return string but return statement is missing\\.$#"
count: 1
@ -50,11 +35,6 @@ parameters:
count: 1
path: ecrire/inc/filtres_dates.php
-
message: "#^Function recup_date\\(\\) should return array but return statement is missing\\.$#"
count: 1
path: ecrire/inc/filtres_dates.php
-
message: "#^Function alertes_auteur\\(\\) should return string but return statement is missing\\.$#"
count: 1
@ -65,11 +45,6 @@ parameters:
count: 1
path: ecrire/inc/filtres_images_lib_mini.php
-
message: "#^Function statut_effacer_images_temporaires\\(\\) should return bool but return statement is missing\\.$#"
count: 1
path: ecrire/inc/filtres_images_lib_mini.php
-
message: "#^Function sous_repertoire\\(\\) should return string but return statement is missing\\.$#"
count: 1
@ -90,11 +65,6 @@ parameters:
count: 1
path: ecrire/inc/rubriques.php
-
message: "#^Function charger_langue\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: ecrire/inc/traduire.php
-
message: "#^Result of function debug_print_backtrace \\(void\\) is used\\.$#"
count: 1
@ -215,3 +185,23 @@ parameters:
count: 1
path: ecrire/req/sqlite_generique.php
-
message: "#^Attribute class SensitiveParameter does not exist\\.$#"
count: 3
path: ecrire/src/Chiffrer/Chiffrement.php
-
message: "#^Attribute class SensitiveParameter does not exist\\.$#"
count: 1
path: ecrire/src/Chiffrer/Cles.php
-
message: "#^Attribute class SensitiveParameter does not exist\\.$#"
count: 5
path: ecrire/src/Chiffrer/Password.php
-
message: "#^Attribute class SensitiveParameter does not exist\\.$#"
count: 3
path: ecrire/src/Chiffrer/SpipCles.php

Loading…
Cancel
Save