Run composer install
with Composer 1.10.7 (current stable as of this post). There are deprecation notices regarding 3 CMS classes not complying with PSR-4 standards that will not resolve correctly when using Composer 2 (2 are because of inconsistent casing between the FQCN and file path, one is because a class is stuffed into a folder unexpectedly). These issues should be addressed before Composer 2 is released.
Labels |
Added:
?
|
I only see notices for 2 classes (Subform field and StringController). These are kinda hard to fix because the classes already exist in J3 and it's a casing issue. There's a WIP PR for that here https://github.com/joomla/joomla-cms/pull/27464/files
What's the 3rd - because I'm not getting it on OSX at least
Deprecation Notice: Class Joomla\Tests\Unit\Libraries\Cms\Image\ImageInspector located in ./tests/Unit/Libraries/Cms/Image/stubs/ImageInspector.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Issue still valid today (on Mac) All three:
Deprecation Notice: Class Joomla\Tests\Unit\Libraries\Cms\Image\ImageInspector located in ./tests/Unit/Libraries/Cms/Image/stubs/ImageInspector.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Joomla\CMS\Form\Rule\SubformRule located in ./libraries/src/Form/Rule/SubFormRule.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Joomla\CMS\Filesystem\Support\StringController located in ./libraries/src/Filesystem/Support/Stringcontroller.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Not getting any Deprecation Notices today 20 Dec
I could reproduce two days ago. Haven’t tried today
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-12-30 00:27:19 |
Closed_By | ⇒ | bembelimen |
Labels |
Removed:
?
|