This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Description
When installing:
zendframework/zend-session (2.6.1)
using:
composer update --classmap-authoritative
The following error is returned:
Fatal error: Class 'Zend\Session\ValidatorChain' not found in /var/www/www.example.com/vendor/zendframework/zend-session/src/SessionManager.php on line 360
The application in question uses exclusively composer for auto-loading of all application libraries and dependency libraries.
The file:
composer/autoload_classmap.php
does not contain an entry for:
Zend\Session\ValidatorChain
This is because the file:
zendframework/zend-session/src/ValidatorChain.php
does not contain a class definition. Instead, it contains a Polyfill for ValidatorChain. Therefore, the composer "--classmap-authoritative" option cannot locate the class "Zend\Session\ValidatorChain". As far as composer is concerned, it does not exist.