UnionOfRAD / li3_quality

(unmaintained) Code quality assurance for li₃.
BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

Parse error on valid code. #45

Closed eLod closed 11 years ago

eLod commented 11 years ago

I get 'A parse error has been encountered' exception when syntax checking my class. It's a subclass of lithium\template\View, which uses $this->{'_' . $key} = assignments in its _init() method that is causing this problem. I had 2 instance of this assignment and the error logged [queue] => 0 and [level] => -2 with all the source tree (running the syntax command for the li3-core class also yields the error).

bayleedev commented 11 years ago

I will look into this. Thank you for reporting.

bayleedev commented 11 years ago

@eLod The parser works in a different way now, and is a lot simpler. Can you test your code against my dev branch and let me know if you run into the same issue or not?

eLod commented 11 years ago

sorry, yes it works on my library/plugin, however i've not tested it with the core lithium files.