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?
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