-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Does not comply with psr-4 autoloading standard
Composer returns the following error: Deprecation Notice: Class RESO\RESO located in ./vendor/reso/reso-php/lib/Reso.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
Warning indicates that package will not autoload in Composer v2.0, but I'm running v1.10.6 and I still can't get it to autoload.
Steps to Reproduce
- Install package
composer require reso/reso-php - Run
composer dump-autoload --optimize - Call
require_once('/path/to/vendor/autoload.php'); - Returns
Fatal error: Uncaught Error: Class 'RESO\RESO' not found
Expected behavior: Autoload package and make Classes accessible.
Actual behavior: Autoload runs without package and Classes are inaccessible.
Versions
RESO-WebAPI-Client-PHP v1.0
Composer V.1.10.6
PHP v7.3.11
nekofar
Metadata
Metadata
Assignees
Labels
No labels