Closed joey-barbier closed 4 years ago
$ php -v PHP 7.4.5 (cli) (built: Apr 23 2020 02:25:56) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.5, Copyright (c), by Zend Technologies
Composer install failed when the version of doctrine/doctrine-migrations-bundle / doctrine/migrations is upper of 2.X.X
doctrine/doctrine-migrations-bundle
doctrine/migrations
2.X.X
You must set the version of doctrine/doctrine-migrations-bundle / doctrine/migrations at 3.0.1
3.0.1
Executing script cache:clear [KO] [KO] Script cache:clear returned with error code 1 !! !! In ArrayNode.php line 319: !! !! Unrecognized options "dir_name, namespace" under "doctrine_migrations". Ava !! ilable options are "all_or_nothing", "check_database_platform", "connection !! ", "custom_template", "em", "factories", "migrations", "migrations_paths", !! "organize_migrations", "services", "storage". !! !! !! Script @auto-scripts was called via post-update-cmd
https://jmsche.fr/en/blog/upgrade-doctrine-migrations-from-2-x-to-3-0
PHP version
Subject
Composer install failed when the version of
doctrine/doctrine-migrations-bundle
/doctrine/migrations
is upper of2.X.X
Steps to reproduce
You must set the version of
doctrine/doctrine-migrations-bundle
/doctrine/migrations
at3.0.1
Expected results