You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will spot this '$this->trait' as a T_TRAIT that it needs to return. Didn't check the underlying reason, but my tests suddenly trigger on places where it shouldn't after the 2.4.0 update.
The text was updated successfully, but these errors were encountered:
That seems to be a side effect from allowing parsing PHP 5.4+ code on PHP 5.3 and below, where T_TRAIT token doesn't exist. @gsherwood , we can just check if { is present (excluding whitespaces) after the trait word and only then consider it as T_TRAIT.
gsherwood
changed the title
$this->trait; is seen as a T_TRAIT token.
$this->trait is seen as a T_TRAIT token
Nov 24, 2015
It will spot this '$this->trait' as a T_TRAIT that it needs to return. Didn't check the underlying reason, but my tests suddenly trigger on places where it shouldn't after the 2.4.0 update.
The text was updated successfully, but these errors were encountered: