8000 Breaking change in 3.1.1: type error in call to `isBinary()` · Issue #64 · Codeception/module-db · GitHub
[go: up one dir, main page]

Skip to content
Breaking change in 3.1.1: type error in call to isBinary() #64
Closed
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0