symfony2admingenerator / AdmingeneratorGeneratorBundle

(old-legacy) Admingenerator for Symfony2, parse generator.yml files to build classes
http://symfony2admingenerator.org/
MIT License
360 stars 125 forks source link

GenerateAdminCommand compatible with SensioGeneratorBundle #819

Closed kadryjanek closed 9 years ago

kadryjanek commented 9 years ago

After installing AdmingeneratorGeneratorBundle in Symfony 2.6.1 project in SensioGeneratorBundle i got error:

Runtime Notice: Declaration of Admingenerator\GeneratorBundle\Command\GenerateAdminCommand::updateRouting() should be compatible with Sensio\Bundle\GeneratorBundle\Command\GenerateBundleCommand::updateRouting(Sensio\Bundle\GeneratorBundle\Command\Helper\QuestionHelper $questionHelper, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $bundle, $format) h

This is related to: https://github.com/sensiolabs/SensioGeneratorBundle/commit/59eebd0d067cfbc8d12e509a44cb44f8eea4739a

This change was introduced to versions: 2.5.X, 2.4.X, 2.3.X.

sescandell commented 9 years ago

Hi @kadryjanek

Take a look to the following workaround waiting for some future resolution: https://github.com/symfony2admingenerator/GeneratorBundle/issues/54#issuecomment-66536365

kadryjanek commented 9 years ago

Ok, Thx!