BUG: `doctrine/migrations` has no more ConsoleLogger
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
./flow doctrine:migrate
Class "Doctrine\Migrations\Tools\Console\ConsoleLogger" not found
Type: Error File: Data/Temporary/Development/SubContextBeach/SubContextInstance/Cache/Code/Fl ow_Object_Classes/Neos_Flow_Persistence_Doctrine_Service.php Line: 238 beach@6bc8157fb20c:/application$ ./flow doctrine:migrate Migrating up to Neos\Flow\Persistence\Doctrine\Migrations\Version20240906102606
Expected Behavior
./flow doctrine:migrate
Migrating up to ...
Steps To Reproduce
Updating neos/flow the doctrine/migrations package is updated to 3.9.x-dev.
After './flow doctrine:migrate' there is an error (see current behavior) that ConsoleLogger was not found.
In there the ConsoleLogger was deleted and the Logger from Symfony is used instead.
See here: https://github.com/doctrine/migrations/commit/2700819827c0748ba33f3a3b0e4f0746cbcf05b6#diff-2cc9c3db4c79b32974d69ac0f6ff0438356f4ce1c39b918b5e0cea02b21dfdd5
Environment
- Flow: 9.0.x-dev
- PHP: 8.2.24
Anything else?
No response
Are you sure about the PHP version? Because we officially support only PHP 8.3.x for Flow/Neos 9.0 ? That could already be the root of the issue otherwise.
Pretty sure 🤔
I'd say then our constraints are bad, but we definitely expect 8.3 at least
I am sorry, too much going on, we are discussing PHP 8.3 as requirement but that is not the case right now.
Which version of the doctrine packages got installed?
Maybe we both have been doing enough Neos stuff the last days…
I just checked the repo and found the change on the 4.0.x branch
Currently i have a working codebase with neos/flow:9.0.x-dev requiring doctrine/migrations:^3.3
So I don't know what happened with my system But it's working again and I updated to php 8.3 after your last message
No!! Still a problem with doctrine/migrations:3.9.x-dev
https://github.com/doctrine/migrations/tree/3.9.x/src/Tools/Console
Is fixed now