I was trying to install bootstrap to symfony2. Everything went well until I tried the assetic:dump --force command.
Here\'s my assetic configuration\"
I had the same issue. I resolved it changing the "leafo/lessphp" version in composer.json:
composer.json
From:
"leafo/lessphp": "~0.3"
to:
"leafo/lessphp": "~0.3.9"