Browse Source

Up baseline phpstan (mais je ne sais pas pourquoi il indique que GdImage manque)

pull/5027/head
Matthieu Marcillaud 1 year ago
parent
commit
3ef0d6ee3f
  1. 15
      phpstan-baseline.neon

15
phpstan-baseline.neon

@ -1,10 +1,5 @@
parameters:
ignoreErrors:
-
message: "#^Function spip_connect_db\\(\\) should return array but return statement is missing\\.$#"
count: 1
path: ecrire/base/connect_sql.php
-
message: "#^Array has 2 duplicate keys with value 350 \\(350, 350\\)\\.$#"
count: 1
@ -100,6 +95,11 @@ parameters:
count: 1
path: ecrire/inc/filtres_ecrire.php
-
message: "#^Class GdImage not found\\.$#"
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
@ -180,11 +180,6 @@ parameters:
count: 1
path: ecrire/iterateur/sql.php
-
message: "#^Function icone_lien_cfg not found\\.$#"
count: 1
path: ecrire/plugins/afficher_plugin.php
-
message: "#^Function inclure_balise_dynamique\\(\\) should return string but return statement is missing\\.$#"
count: 1

Loading…
Cancel
Save