[oembed ↪ issue_16] 3 commits

spip-contrib-extensions/oembed | 3 commits

Par b_b, le 19 avril 2022 à 13h56min :

phpstan level 1 + ajout d’un fichier bootstrap pour y définir les constantes du core utilisées dans le plugin

Ajouté
phpstan-constants.php
Modifié
.gitattributes
phpstan.neon.dist

Détails : phpstan level 1 + ajout d'un fichier bootstrap pour y définir les constantes du core utilisées dans le plugin · f38750bea6 - oembed - SPIP on GIT

==============================
Par b_b, le 19 avril 2022 à 14h00min :

phpstan : fix Variable xxx might not be defined

Modifié
inc/oembed.php
oembed/input/posttraite_twitter.php

Détails : phpstan : fix Variable xxx might not be defined · ea72ff32b7 - oembed - SPIP on GIT

==============================
Par b_b, le 19 avril 2022 à 14h32min :

ignorer le répertoire de spip-cli

en attendant de trouver comment gérer proprement l’erreur suivante

  Line   plugins/oembed/spip-cli/OembedRecupererData.php
 ------ ------------------------------------------------------------------------
         Reflection error: Symfony\Component\Console\Command\Command not found.
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols

Modifié
phpstan.neon.dist

Détails : ignorer le répertoire de spip-cli · c514abfd20 - oembed - SPIP on GIT