Closed rkeet closed 6 years ago
Is already included in the suggest section:
Duplicate of #147 and #83
As #83 was opened in 2016 and #147 halfway 2017 and the fact this has not been fixed, I would argue it would be better to make these requirements for now, until a separation into separate modules is done.
Now you must go on a hunt to see what's going wrong because Zend\Math
is not required/autoloaded.
I would argue it would be better to make these requirements for now…
And then comes the next reporter, we should set the zend-math component as optional. 😉
…until a separation into separate modules is done.
The suggest section in a Composer file is for all packages they are not strictly required. zend-math is only used in the CSRF validator and therefore not strictly required.
https://github.com/zendframework/zend-validator/blob/87e743d11d49a157011a49a962c25e7a11adc7c5/src/Csrf.php#L13
Module requires module Zend Math. Module listed in composer.json as required under
require-dev
, not inrequire
section (see here).Can cause a
Class 'Zend\Math\Rand' not found
error.Busy/late atm so do not have time to go fork/update/pr/whatever stuff; thought to report.