craft3-plugin-sitemap icon indicating copy to clipboard operation
craft3-plugin-sitemap copied to clipboard

PSR-4 autoloading warning upon installation

Open johnfmorton opened this issue 4 years ago • 1 comments

When I installed this today from the command line, I received the following notice:

Deprecation Notice: Class dolphiq\sitemap\assetbundles\Sitemap\SitemapAsset located in ./vendor/dolphiq/sitemap/src/assetbundles/sitemap/SitemapAsset.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

It doesn't stop it from working immediately.

johnfmorton avatar Oct 02 '20 14:10 johnfmorton

Class dolphiq\sitemap\assetbundles\sitemap\dist\SitemapAsset located in ./vendor/dolphiq/sitemap/src/assetbundles/sitemap/SitemapAsset.php does not comply with psr-4 autoloading standard. Skipping.

This is because the sitemap folder in assetbundles is not with an uppercase S.

This on composer 2.0.7

remmelt avatar Nov 25 '20 20:11 remmelt