laminas / laminas-crypt

Strong cryptography tools and password hashing
https://docs.laminas.dev/laminas-crypt/
BSD 3-Clause "New" or "Revised" License
39 stars 24 forks source link

`PHP 8.2 Deprecated: Creation of dynamic property Laminas\Crypt\Symmetric\Openssl::$supportedAlgos` error #29

Closed basselin closed 1 year ago

basselin commented 1 year ago

Bug Report

The property $supportedAlgos is not declared in Laminas\Crypt\Symmetric\Openssl

Q A
Version(s) 3.9.0

Summary

Error message : PHP Deprecated: Creation of dynamic property Laminas\Crypt\Symmetric\Openssl::$supportedAlgos is deprecated in /vendor/laminas/laminas-crypt/src/Symmetric/Openssl.php on line 663

Current behavior

Deprecated message.

Expected behavior

Nothing more, just add : protected $supportedAlgos;

github-actions[bot] commented 1 year ago

This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself

Ocramius commented 1 year ago

Send a patch to the current stable branch 👍.

I would suggest: