Skip to content

Struct extended test fails on PHP 7.3 #4

@BHSPitMonkey

Description

@BHSPitMonkey

The assertion that fails

Eos\DataStructures\Struct::__construct() expects parameter 1 to be array, integer given

How it fails

================================================================================
001+ Eos\DataStructures\Struct::__construct() expects parameter 1 to be array, int given
001- Eos\DataStructures\Struct::__construct() expects parameter 1 to be array, integer given
================================================================================

The cause

TypeError now reports wrong types as int and bool instead of integer and boolean, respectively.

(from https://www.php.net/manual/en/migration73.incompatible.php)

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