marionnewlevant / craft-snitch

Craft plugin. Report when two people might be editing the same entry, category, or global
MIT License
35 stars 16 forks source link

Composer deprecation notice #20

Closed daltonrooney closed 3 years ago

daltonrooney commented 3 years ago

When running composer install, I get the following message:

Deprecation Notice: Class marionnewlevant\snitch\assetbundles\Snitch\SnitchAsset located in ./vendor/marionnewlevant/snitch/src/assetbundles/snitch/SnitchAsset.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
daltonrooney commented 3 years ago

Found this comment from @brandonkelly on another plugin with a similar issue, if it helps!

brandonkelly commented 3 years ago

Looks like this was already fixed in 3.0.3 per this commit: ace43106d0b2b8d3ab572074341211229d172cba

brandonkelly commented 3 years ago

I’m not seeing the deprecation error when installing 3.0.3 with Composer 1, so can verify the fix worked.

daltonrooney commented 3 years ago

Thanks @brandonkelly, I thought I was up to date, I should have double-checked!