Closed mmarton closed 4 years ago
See my comment in https://github.com/symfony/symfony/issues/35934#issuecomment-596798453
According to the laminas team, this might have been caused by a bug in composer. Make sure that you use Composer 1.10+ to generate the autoloader, to have the fixed version.
Closing this as it seems not related to this bundle
Hi!
When i try to run the command
> bin/console doctrine:migrations:migrate --no-interaction --allow-no-migration
i get the exception:
It's the same issue that was reported here, but i think it is the right place: https://github.com/symfony/symfony/issues/35934
If I understand correctly:
migrationsbundle requires doctrine migrations that requires ocramious proxy manager orcamius/proxy manager looks for "ClassGenerator" from namespace "Zend\Code\Generator" from package zend/code-generator but looks like it doesn't exists (or the zend framework bridge isn't working correctly)
extra infos: packages installed by
> composer install --ignore-platform-reqs --no-progress --no-scripts --prefer-dist
> composer why-not zendframework/zend-code
ocramius/proxy-manager 2.2.3 requires zendframework/zend-code (^3.3.0)> composer why laminas/laminas-code
laminas/laminas-code 3.4.1 replaces zendframework/zend-code (self.version)ocramius/proxy-manager 2.2.3 requires zendframework/zend-code (^3.3.0)
> composer show | grep zend
laminas/laminas-zendframework-bridge 1.0.1 Alias legacy ZF class names to Laminas Project equivalents.> php -v
PHP 7.2.28-3+ubuntu18.04.1+deb.sury.org+1> composer show