Skip to content

Conversation

@slig36
Copy link

@slig36 slig36 commented Jul 22, 2022

Hi,

With PHP 7.2 and Symfony 3.4 we can't extract translation due to a small typo in the docblock of the rotateImage method.
I fix it, hopes it helps others :)

PHP: PHP 7.2.34-30+0~20220614.72+debian11
Symfony: v3.4.49
Command: php bin/console translation:extract fr de en es ja --dir=./src/ --dir=./app/Resources/TwigBundle/views --dir=./app/Resources/views/ --output-dir=./app/Resources/translations --domain=mail

[Doctrine\Common\Annotations\AnnotationException]
[Semantical Error] The annotation "@retunrn" in method PHPThumb\GD::rotateImage() was never imported. Did you ma
ybe forget to add a "use" statement for this annotation?

@retunrn error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant