Skip to content

php 8.4: Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead #6302

Description

@tenzap

When running the tests of ci3 with php8.4, I get these deprecation warnings:

PHP Deprecated:  CI_Encryption::encrypt(): Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead in .../system/libraries/Encryption.php on line 372
PHP Deprecated:  CI_Encryption::decrypt(): Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead in .../system/libraries/Encryption.php on line 507
.
Deprecated: CI_Encryption::encrypt(): Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead in .../system/libraries/Encryption.php on line 372

Deprecated: CI_Encryption::decrypt(): Implicitly marking parameter $params as nullable is deprecated, the explicit nullable type must be used instead in .../system/libraries/Encryption.php on line 507

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions