Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

PSR-4 violations reported by composer #18

Open
dinamic opened this issue Apr 23, 2020 · 2 comments
Open

PSR-4 violations reported by composer #18

dinamic opened this issue Apr 23, 2020 · 2 comments

Comments

@dinamic
Copy link

dinamic commented Apr 23, 2020

Composer recently started throwing deprecation notices in the console, saying these violations would prevent classes to be autoloaded with Composer 2.0 onwards.

It looks like the casing of the folder name does not match the namespace.

Here is the full message from composer:

Deprecation Notice: Class ProsperWorks\Interfaces\Cache located in ./vendor/smith-carson/prosperworks-sdk/src/interfaces/Cache.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class ProsperWorks\Interfaces\Crypt located in ./vendor/smith-carson/prosperworks-sdk/src/interfaces/Crypt.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
@jaydiablo
Copy link

This is fixed in #17 btw (which remains unmerged)

@dinamic
Copy link
Author

dinamic commented Mar 11, 2021

Crossing fingers the maintainer is going to look into it soon 🤞

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

No branches or pull requests

2 participants