-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Illegal offset type #486
Comments
Now the class PhpParser\Node\Stmt\UseUse in nikic/php-parser v4.0.1, getting the property alias ( To solve this error we must change line 89 from TranslationContainerExtractor.php to this:
|
Another problem... this version (dev-master) is not respecting the translation_domain of forms... |
FormExtrator must be changed to respect translation domains. Line 105:
must be changed to:
and Line 109:
must be changed to:
I do not know if there are no more changes to make ... Tomorrow I make a PR |
Have all these changes been applied @pdias ? I see this issue is still open, and I'm getting the same error. |
Expected behavior
Extract translation in xliff format
Actual behavior
Steps to reproduce
In this case I extract from the AvadocBundle bundle...
console translation:extract -b AvadocBundle --output-format xliff en
This happens since the last update (nikic / php-parser v4.0.1)... reverting to version 1.4.1, extracts correctly.
The text was updated successfully, but these errors were encountered: