Table of Contents

ScriptlogOpenssl

Layer: Core · Source: lib/core/ScriptlogOpenssl.php:30 (lines 30–44)


class ScriptlogOpenssl extends \Laminas\Crypt\Symmetric\Openssl

Thin project-level subclass of Laminas\Crypt\Symmetric\Openssl that declares the $supportedAlgos property explicitly.

laminas/laminas-crypt 3.8.0 (the latest release supporting PHP 7.4) does not declare this property, yet Openssl::getSupportedAlgorithms() assigns to it dynamically. Under PHP 8.2+ that triggers the deprecation warning “Creation of dynamic property … is deprecated” whenever the remember-me token encryption (ScriptlogCryptonize::cipherMessage/decipherMessage) runs.

Declaring the property mirrors the upstream fix shipped in laminas-crypt 3.9.0, which could not be adopted because it drops PHP 7.4 support. The encryption/decryption format remains byte-for-byte identical, so existing tbl_user_token rows and remember-me cookies stay valid.

Docblock Metadata

Tag Value
@category Core Class
@author M.Noermoehammad
@license MIT
@version 1.0

Inheritance

Relation Type Meaning
extends \Laminas\Crypt\Symmetric\Openssl parent class/interface

Constants (0)

None.

Properties (1)

Visibility Type Name Default Line
public (untyped) $supportedAlgos 43

Methods (0)

None.


This page is generated from source by 'tools/gendoc'. Edits will be overwritten.