We run an application which works for 32 websites. That means that we have 32 different configurations. In each of these config folders under autoload there is a symlink pointing to a file outside the app.
The laminas migration fails with this file. The error message per symlink:
Notice: file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory in /…/.composer/vendor/laminas/laminas-migration/src/MigrateProject.php on line 67
The migration then creates a folder containing the symlinked file for each configuration. It is removed from the original location and moved to this new folder in the application root.
I’ve solved the problem by deleting all folders created by the laminas-migration and put the symlinked files back to their original location.
It looks like the migration tries to perform a replacement on this symlink. I’m only testing locally at the moment. It would be nice if this bug would be fixed.