Skip to content

PHP 7.4 compatibility broken since v15.27.0 #1809

@TimWolla

Description

@TimWolla

According to composer.json, PHP 7.4 still is officially supported:

"php": "^7.4 || ^8",

However PR #1802 added an explicit implementation of the \Stringable to various classes. This interface only exists as of PHP 8. The library is broken with PHP 7.4 since then:

Error: Interface 'Stringable' not found in /home/runner/work/*snip*/vendor/webonyx/graphql-php/src/Type/Definition/Type.php:12

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions