I got the same errors today!
It seems it is about the new composer 2.0.
Since version 2 the namespaces in the files HAS to match EXACTLY and CASE-SENSITIVE with the pathes and filenames.
And indeed I found errors in the files mentioned.
Take a look here for this issue: https://medium.com/legacybeta/using-composer-2-0-with-psr4-388b78b98aaa
I tried to fix step by step what each error message said followed by a "composer update" and the errors dissappeared one after the other:
For example: the folder /var/www/html/ilias/texts is to rename in /var/www/html/ilias/Texts because there is a class declared with "ILIAS\Texts\..." .
In all other cases I had to edit the namespaces in the files upon the pathes.
A least I had successfully fixed all psr4-errors but the main error with "ComponentDecoratorTrait" remained and for that I didn't found a solution.
I think that is indeed a really bug and I will report it tomorrow in Mantis.
Kind regards
Joachim
It seems it is about the new composer 2.0.
Since version 2 the namespaces in the files HAS to match EXACTLY and CASE-SENSITIVE with the pathes and filenames.
And indeed I found errors in the files mentioned.
Take a look here for this issue: https://medium.com/legacybeta/using-composer-2-0-with-psr4-388b78b98aaa
I tried to fix step by step what each error message said followed by a "composer update" and the errors dissappeared one after the other:
For example: the folder /var/www/html/ilias/texts is to rename in /var/www/html/ilias/Texts because there is a class declared with "ILIAS\Texts\..." .
In all other cases I had to edit the namespaces in the files upon the pathes.
A least I had successfully fixed all psr4-errors but the main error with "ComponentDecoratorTrait" remained and for that I didn't found a solution.
I think that is indeed a really bug and I will report it tomorrow in Mantis.
Kind regards
Joachim