DarkaOnLine / Ripcord

XML RPC client and server around PHP's xmlrpc library
33 stars 21 forks source link

Deprecation Notice from Composer #18

Open flexchar opened 4 years ago

flexchar commented 4 years ago

Heya! I am running Composer 1.10.1 and it's giving me deprecation notice.


Deprecation Notice: Class Ripcord\Documentator\Documentor located in ./vendor/darkaonline/ripcord/src/Ripcord/Documentor/Documentor.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
Deprecation Notice: Class Ripcord\Documentator\Contracts\Parser located in ./vendor/darkaonline/ripcord/src/Ripcord/Documentor/Contracts/Parser.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
Deprecation Notice: Class Ripcord\Documentator\Contracts\Documentator located in ./vendor/darkaonline/ripcord/src/Ripcord/Documentor/Contracts/Documentator.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
Deprecation Notice: Class Ripcord\Parsers\PhpDoc located in ./vendor/darkaonline/ripcord/src/Ripcord/Documentor/Parsers/PhpDoc.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

I have checked the files and it seems correct. I cant really spot the issue there :/

Ang3 commented 4 years ago

All these namespaces are not following the folder structure.

For example, the namespace definition in file Ripcord/Documentor/Parsers/PhpDoc.php is Ripcord\Parsers but should be Ripcord\Documentator\Parsers. Then, sometimes it's Documentor and Documentator another time.

nonamez commented 3 years ago

Why fix is not merged yet?