Projet

Général

Profil

Anomalie #4605

Mis à jour par Éric Brison il y a environ 12 ans

Ajouter un test pour le define (cas PHP 5.3) 

 if (! defined("T_TRAIT")) define("T_TRAIT", 355); 

 Puis ajouter le test sur le token    : méthode ClassHunterForPHP5_3::find() 
 @if ($token[0] === T_INTERFACE || $token[0] === T_CLASS || $token[0] === T_TRAIT) {@

Retour