zend-math icon indicating copy to clipboard operation
zend-math copied to clipboard

2.7: issue with latest RandomLib

Open remicollet opened this issue 9 years ago • 7 comments

With RandomLib (and without mcrypt), running zend-form test suite:

PHP Fatal error: Class Zend\Math\Source\HashTiming contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (RandomLib\Source::isSupported) in /usr/share/php/Zend/Math/Source/HashTiming.php on line 111

remicollet avatar Sep 15 '16 12:09 remicollet

Notice also raised during zend-math test suite, see (Fedora QA) https://apps.fedoraproject.org/koschei/package/php-zendframework-zend-math?collection=f26

remicollet avatar Sep 15 '16 12:09 remicollet

@remicollet ircmaxell/RandomLib added the method isSupported to the interface RandomLib\Source. To fix this we need to merge #24 as new release 2.7.1. @weierophinney what do you think?

ezimuel avatar Sep 15 '16 13:09 ezimuel

Let's wait and see if Anthony addresses the BC break, first; if so, we can potentially exclude that release from our supported versions list.

weierophinney avatar Sep 15 '16 14:09 weierophinney

Anthony have answered on PR #24

remicollet avatar Sep 15 '16 14:09 remicollet

Yep, I have same issue. Does anyone found hack for this fatal error?

tasmaniski avatar Dec 15 '16 12:12 tasmaniski

When will this be fixed?

reinfi avatar Jan 19 '17 11:01 reinfi

This repository has been closed and moved to laminas/laminas-math; a new issue has been opened at https://github.com/laminas/laminas-math/issues/1.

weierophinney avatar Dec 31 '19 23:12 weierophinney