This fixes updating from 2.11.* or < 2.11 to the main branch. It also shows why it's so important we changed the fact that we replace the PluginLoader on every update because it was effectively immortal. When you run composer update or composer install the plugins are loaded into the process memory so what will happen is that it will always dump the previous version which might cause a lot of trouble. This is fixed now that we do not replace the PluginLoader anymore but use a separate, generated file but this PR is required to fix the update from previous versions to the latest one.
This fixes updating from 2.11.* or < 2.11 to the main branch. It also shows why it's so important we changed the fact that we replace the
PluginLoader
on every update because it was effectively immortal. When you runcomposer update
orcomposer install
the plugins are loaded into the process memory so what will happen is that it will always dump the previous version which might cause a lot of trouble. This is fixed now that we do not replace thePluginLoader
anymore but use a separate, generated file but this PR is required to fix the update from previous versions to the latest one.