schmittjoh / JMSTranslationBundle

Puts the Symfony2 Translation Component on steroids
http://jmsyst.com/bundles/JMSTranslationBundle
426 stars 292 forks source link

The annotation "@created" , "@optional" ... was never imported. #488

Closed grekpg closed 6 years ago

grekpg commented 6 years ago
Q A
Bundle version ^1.3
Symfony version 3.4
PHP version 7.2.3

php bin/console translation:extract pt --dir=./src/ --output-dir=./app/Resources/translations

[Semantical Error] The annotation "@created" in class InvoiceBundle\Service\CodeGeneratorService was never imported. Did you maybe forget to add a "use" statement for this annotation?

[Semantical Error] The annotation "@optional" in property Ups\Entity\Tradeability\TariffInfo::$detailId was never imported. Did you maybe forget to add a "use" statement for this annotation?

is possible to ignore unknown annotations ? this is not my bundle, i set extract from app/ but errors found in other bundles

gnat42 commented 6 years ago

This doesn't seem like a jms/translation error.