Skip to content

Struct extended test fails on PHP 7.3 #4

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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