Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

SelfDescribing interface is incompatible with phpunit 7/8 #63

@mischka

Description

@mischka

The interface SelfDescribing in the file phpunit7-interfaces.php is incompatible with phpunit 7.5 and 8.2

https://github.com/sebastianbergmann/phpunit/blob/7.5/src/Framework/SelfDescribing.php
https://github.com/sebastianbergmann/phpunit/blob/8.2/src/Framework/SelfDescribing.php

The method toString has not return type

    /**
     * Returns a string representation of the object.
     */
    public function toString(): string;

I think this is related to this issue Codeception/Codeception#5031

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