Skip to content

Remove or convert deprecated E_STRICT usages #920

@alexgit2k

Description

@alexgit2k

The E_STRICT constant has been deprecated since PHP 8.4, see https://php.watch/versions/8.4/E_STRICT-deprecated.
It should be either removed or replaced by E_NOTICE as "since PHP 8.0, all E_STRICT notices have changed to E_NOTICE".

E_STRICT has already been removed from scripts/build-phar.phpin #619, but there are 3 occurrences in tests/Core/File/IsReferenceTest.inc:

error_reporting( E_NOTICE & E_STRICT );

$d = E_NOTICE & E_STRICT,

$fn = fn( $one = E_NOTICE & E_STRICT) => 1;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions