Closed SteveDesmond-ca closed 3 years ago
I think more changes are needed:
$this->setExpectedException(...)
to $this->expectException(...)
: void
as return typePHP 8 compatibility check result:
FILE: php-zip/src/Util/CryptoUtil.php
----------------------------------------------------------------------
FOUND 6 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
48 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and
| | removed since PHP 7.2; Use openssl (preferred) or
| | pecl/mcrypt once available instead
48 | ERROR | Function mcrypt_decrypt() is deprecated since PHP 7.1
| | and removed since PHP 7.2; Use OpenSSL instead
48 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since
| | PHP 7.1 and removed since PHP 7.2
72 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and
| | removed since PHP 7.2; Use openssl (preferred) or
| | pecl/mcrypt once available instead
72 | ERROR | Function mcrypt_encrypt() is deprecated since PHP 7.1
| | and removed since PHP 7.2; Use OpenSSL instead
72 | ERROR | The constant "MCRYPT_RIJNDAEL_128" is deprecated since
| | PHP 7.1 and removed since PHP 7.2
----------------------------------------------------------------------
Version 4.0 has been released with PHP 8 support. Thank you for your contribution.
Description
As a developer using this library, I want to upgrade my app to PHP 8, so I can keep up with the latest patches.
Example
Currently, composer fails with
Not sure if any code needs to be changed beyond the composer config