Skip to content

[MFTF] Investigate and fix code related to changes in CURL #33781

Closed
@github-jira-sync-bot

Description

@github-jira-sync-bot

Reference PHP 8 Backward Incompatible Changes

Project: https://github.com/magento/magento2-functional-testing-framework

AC:

  • CURLOPT_POSTFIELDS no longer accepts objects as arrays. To interpret an object as an array, perform an explicit (array) cast. The same applies to other options accepting arrays as well.
  • curlinit() will now return a CurlHandle object rather than a resource. The curlclose() function no longer has an effect, instead the CurlHandle instance is automatically destroyed if it is no longer referenced.
  • Fix code related to these CURL changes

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions