Skip to content

The __construct function produces Deprecated in php8 error #62

Open
@a4992214

Description

@a4992214

The __construct function in SequenceMatcher produces Deprecated: Optional parameter $junkCallback declared before required parameter $options is implicitly treated as a required parameter [i.e. $junkCallback has a default but $options does not]

public function __construct($a, $b, $junkCallback=null, $options)

Quick fix might be :

public function __construct($a, $b, $junkCallback=null, $options=null)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions