You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
composer require reso/reso-php
composer dump-autoload --optimize
require_once('/path/to/vendor/autoload.php');
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
The text was updated successfully, but these errors were encountered: