mmoreram / GearmanBundle

GearmanBundle for Symfony2
MIT License
236 stars 103 forks source link

(hotfix) - fixed deprecated message for symfony/options-resolver. 'Ca… #181

Closed radu-neacsu closed 7 years ago

radu-neacsu commented 7 years ago

…lling the Symfony\Component\OptionsResolver\OptionsResolver::setAllowedTypes method with an array of options is deprecated since version 2.6 and will be removed in 3.0. Use the new signature with a single option instead.'

daum commented 7 years ago

Instead of looping over this in a foreach can you please update it to be similar to the master version: https://github.com/mmoreram/GearmanBundle/blob/master/Service/GearmanExecute.php#L92-L94

daum commented 7 years ago

Thanks @radu-neacsu . Just made a release for it too https://github.com/mmoreram/GearmanBundle/releases/tag/v3.0.4

radu-neacsu commented 7 years ago

No problem, glad that I could help.