Menu

#1771 PHPParser marks member variable "interface" as error

None
closed-fixed
nobody
None
5
2015-01-19
2014-01-27
Fenor
No

The PHPParser marks the interface word as error when it is used as a member variable name. The sidekick just shows "Not parsed". When I use a different name than it works and the file is parsed.

For example:
$this->interface->something = 2;

This line is valid php, so the interface word should not be marked as error and the parser should not stop at this line.

jEdit 5.1
PHPParser 2.0.2
Sidekick 1.5
java 1.7.0_45

Discussion

  • Matthieu Casanova

    • status: open --> closed-fixed
    • Group: -->
     
  • Matthieu Casanova

    Fixed in trunk

     

Log in to post a comment.