agar/less.php — Issue #5: Parser triggers notices if file ends with ;
Author: apancutt
Created: 2011-11-14 23:15:17+00:00
State: open

test.less

@myVar: 10px;

Attempt to compile:

bin/lessc test.less test.css

Output:

PHP Notice: Uninitialized string offset: 15 in .../less.php/lib/Less/Parser.php on line 1045

Adding a new line or ending the file with a `}` appears to solve the problem, for now.