Bon, ce fut fastidieux, mais je pense avoir réussi. En tout cas, je n'ai plus d'avertissements en haut de page (j'en ai une chiée dans les alertes de débogages, mais pour ça, je me suis contenté de désactiver l'option)
Merci
Voici le détail des opération (à peu près aussi fastidieux à lire qu'à faire)
Pour Strict Standards: Non-static method Inspekt::makeSuperCage() should not be called statically in /include/init.inc.php on line 42
$superCage = Inspekt::makeSuperCage($strict); remplacé par
$inspekt = new Inspekt();
$superCage = $inspekt->makeSuperCage($strict);
Pour Strict Standards: Non-static method Inspekt_Supercage::Factory() should not be called statically in /include/inspekt.php on line 282
$_scinstance = Inspekt_Supercage::Factory($strict); remplacé par
$inspekt_supercage = new Inspekt_Supercage();
$_scinstance = $inspekt_supercage->Factory($strict);
Pour Strict Standards: Non-static method Inspekt::makeGetCage() should not be called statically, assuming $this from incompatible context in /include/inspekt/supercage.php on line 124
Strict Standards: Non-static method Inspekt::makePostCage() should not be called statically, assuming $this from incompatible context in /include/inspekt/supercage.php on line 125
Strict Standards: Non-static method Inspekt::makeCookieCage() should not be called statically, assuming $this from incompatible context in /include/inspekt/supercage.php on line 126
Strict Standards: Non-static method Inspekt::makeEnvCage() should not be called statically, assuming $this from incompatible context in /include/inspekt/supercage.php on line 127
Strict Standards: Non-static method Inspekt::makeFilesCage() should not be called statically, assuming $this from incompatible context in /include/inspekt/supercage.php on line 128
Strict Standards: Non-static method Inspekt::makeServerCage() should not be called statically, assuming $this from incompatible context in include/inspekt/supercage.php on line 134
$inspekt = new Inspekt();
$this->get = $inspekt->makeGetCage($strict);
$this->post = $inspekt->makePostCage($strict);
$this->cookie = $inspekt->makeCookieCage($strict);
$this->env = $inspekt->makeEnvCage($strict);
$this->files = $inspekt->makeFilesCage($strict);
/**
* Don't put session in cage as it will nullify $_SESSION and we will loose the session completely.
* TODO: Find a way to put the session data in cage and still retain the session correctly
*/
//$this->session= $inspekt->makeSessionCage($strict);
$this->server = $inspekt->makeServerCage($strict);
Pour Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically, assuming $this from incompatible context in /include/inspekt.php on line 124
$_instance = Inspekt_Cage::Factory($_SERVER, $strict); remplacé par
$inspekt_cage = new Inspekt_cage();
$_instance = $inspekt_cage->Factory($_SERVER, $strict);
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically, assuming $this from incompatible context in /include/inspekt.php on line 147
$_instance = Inspekt_Cage::Factory($_GET, $strict); remplacé par
$inspekt_cage = new Inspekt_cage();
$_instance = $inspekt_cage->Factory($_GET, $strict);
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically, assuming $this from incompatible context in /include/inspekt.php on line 170
$inspekt_cage = new Inspekt_cage();
$_instance = $inspekt_cage->Factory($_POST, $strict);
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically, assuming $this from incompatible context in /include/inspekt.php on line 192
$inspekt_cage = new Inspekt_cage();
$_instance = $inspekt_cage->Factory($_COOKIE, $strict);
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically, assuming $this from incompatible context in /include/inspekt.php on line 215
$inspekt_cage = new Inspekt_cage();
$_instance = $inspekt_cage->Factory($_ENV, $strict);
Strict Standards: Non-static method Inspekt_Cage::Factory() should not be called statically, assuming $this from incompatible context in /include/inspekt.php on line 238
$inspekt_cage = new Inspekt_cage();
$_instance = $inspekt_cage->Factory($_FILES, $strict);