Skip to content

PhpBrowser::$client doesn't match it's parent InnerBrowser #58

@rafaelmiti

Description

@rafaelmiti

We just upgraded to PHP 8.0. We got an error when running the acceptance tests:

failure

wrong

We could fix it by removing the type of the $client attribute of the PhpBrowser class (it was changed for the annotation really):

success

right

The PR if this is the right solution: Codeception/module-phpbrowser#22

Obs: We tried to update to the version 2.1 of the module, because we couldn't find the 2.0 branch (against which the PR maybe should be opened), but it wasn't possible. Looks like composer can't update to it. So we hope this fix will be tagged by 2.0.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions