Skip to content

Guzzle lib needs updating to support PHP 8.0 and hgher. #222

@rikardow

Description

@rikardow

Hi, thanks for the great work on this plugin

We found some errors and deprecations in the codebase, here's the list

  1. File: admin/tool/trigger/guzzle/GuzzleHttp/Promise/functions.php
    Line: 222
    Message: Function each() is deprecated since PHP 7.2 and removed since PHP 8.0; Use a foreach loop or ArrayIterator instead
    Type: error

  2. File: admin/tool/trigger/guzzle/GuzzleHttp/Promise/functions.php
    Line: 257
    Message: Function each() is deprecated since PHP 7.2 and removed since PHP 8.0; Use a foreach loop or ArrayIterator instead
    Type: error

  3. File: admin/tool/trigger/guzzle/GuzzleHttp/Promise/functions.php
    Line: 313
    Message: Function each() is deprecated since PHP 7.2 and removed since PHP 8.0; Use a foreach loop or ArrayIterator instead
    Type: error

  4. File: admin/tool/trigger/edit.php
    Line: 74
    Message: Using ${var} in strings is deprecated since PHP 8.2, use {$var} instead. Found: ${pluginname}
    Type: warning

  5. File: admin/tool/trigger/edit.php
    Line: 74
    Message: Using ${var} in strings is deprecated since PHP 8.2, use {$var} instead. Found: ${eventname}
    Type: warning

Thank you very much for your efforts

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions