Skip to content

Breaking change in 3.1.1: type error in call to isBinary() #64

@anomiex

Description

@anomiex

The call to $this->isBinary() added in #48 broke a bunch of our tests that were passing float parameters with the following error

[TypeError] Codeception\Lib\Driver\Db::isBinary(): Argument #1 ($string) must be of type string, float given, called in /tmp/wordpress-latest/src/wp-content/plugins/crm/vendor/codeception/module-db/src/Codeception/Lib/Driver/Db.php on line 299

A fix might be to add an is_string() check before the attempt to call $this->isBinary().

CC: @cybd @Arhell @Naktibalda

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