Well, it’s only logical that if 2 modifications extend the same class, you’d need human intervention to decide which one should have a precedence.
In this case integrator would make class with less precedence (A) extend the core class, and class (B) that should override methods in A would extend it.
The rewrite in configuration would have class B.
After each upgrade the change will need to be repeated.
Unfortunately, PHP doesn’t allow dynamic inheritance, so not too much options that i see here..
Maybe it’s possible to make a script that:
1. senses if 2 modules rewrite the same class
2. gives list of conflicts and asks for choice
3. updates the files and configuration
4. remembers the choice as a macro file to be repeated after upgrade.
mmm… maybe that’s just too much to ask and we should just do it manually