Skip to content

testSum failures under PHP 8.3 #107

@NorthNick

Description

@NorthNick

There are 4 testSum tests, each including the sum of ["a", true, false, null]. The implementation of Sum uses array_sum, which throws a warning when values cannot be converted to int or float under PHP 8.3 (manual page). This causes the test suite to fail, so these tests should be changed or dropped, or modified to expect a warning from PHP 8.3 onwards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions