Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using composer >= 1.10.1 with an optimised autoloader results in a warning caused by this repository #28

Closed
hostep opened this issue Mar 24, 2020 · 0 comments · Fixed by #29

Comments

@hostep
Copy link

hostep commented Mar 24, 2020

When installing Magento 2.3.4 using composer (version 1.10.1 or higher) with the optimised autoloader flag results in this warning:

Deprecation Notice: Class Zend_Validate_Barcode_IntelligentMail located in ./vendor/magento/zendframework1/library/Zend/Validate/Barcode/Intelligentmail.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201

FYI: composer version 1.10.0 started adding these warnings to prepare for composer 2.0 to be released soonish probably

If I have to guess, it's probably a case mismatch, the class is called Zend_Validate_Barcode_IntelligentMail, but the file is called Intelligentmail.php. Notice the different casing of the M letter.

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

Successfully merging a pull request may close this issue.

1 participant