JMSTranslationBundle
JMSTranslationBundle copied to clipboard
The parser throw an error with binary assignation and stop de process
I've run an export app/console translation:extract fr --bundle=AcmeFrontBundle
And have no problem, after that i've run it on another bundle app/console translation:extract fr --bundle=AcmeServiceBundle And have this error
[RuntimeException] Could not parse "/www/project/src/Acme/Bundle/ServiceBundle/Entity/MyEntity.php": Syntax error, unexpected T_SL, expecting ',' or ';' on line 33
And
[PHPParser_Error] Syntax error, unexpected T_SL, expecting ',' or ';' on line 33
If I check the line 33
const STATUS_DRAFT = 1<<0;
And remember that was an old issue of previous PHP version corrected long ago.
How could I avoid this?
I know it was a long time ago you posted this issue. Do you still experiencing this? Or is it fixed in the latest version of the bundle?