schmittjoh / JMSJobQueueBundle

Run and Schedule Symfony Console Commands as Background Jobs
http://jmsyst.com/bundles/JMSJobQueueBundle
335 stars 254 forks source link

FQCN for class constant #160

Closed rommsen closed 7 years ago

rommsen commented 7 years ago

This PR adds a FQCN to the Job class constant in the queue annotation of the Job entity.

Since Symfony 3.2 there is a AnnotationCacheWarmer which uses a CachedReader from doctrine/annotations. This reader seems to have problems with a class constant that does not have a FQCN.

See: https://github.com/doctrine/annotations/issues/115 and https://github.com/schmittjoh/JMSJobQueueBundle/issues/158

schmittjoh commented 7 years ago

AFAIU this has been fixed upstream by https://github.com/doctrine/annotations/pull/120

Closing this one here.