Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

PSR-4 autoloading warning upon installation #52

Open
johnfmorton opened this issue Oct 2, 2020 · 1 comment
Open

PSR-4 autoloading warning upon installation #52

johnfmorton opened this issue Oct 2, 2020 · 1 comment

Comments

@johnfmorton
Copy link

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 johnfmorton changed the title PSR-4 autoloading error PSR-4 autoloading warning upon installation Oct 2, 2020
@remmelt
Copy link

remmelt commented Nov 25, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants