magento / zf1

ZF1 adopted for Magento 2. Use composer in Magento 2 root to download it.
BSD 3-Clause "New" or "Revised" License
60 stars 61 forks source link

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

Closed hostep closed 3 years ago

hostep commented 4 years ago

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.