Skip to content

Fix MFTF Tests to be compatible with PHP 8.1 #34778

Closed
@github-jira-sync-bot

Description

@github-jira-sync-bot

There are deprecation notices generated in MFTF tests. Those notices need to be fixed for tests to pass with errorreporting=EALL

  • < ] [https://github.com/magento/magento2]
  • [https://github.com/magento/partners-magento2ee]
  • [https://github.com/magento/partners-magento2b2b]
  • [https://github.com/magento/partners-magento2-infrastructure]
  • [https://github.com/magento/inventory]
  • [https://github.com/magento/magento2-page-builder]
  • [https://github.com/magento/magento2-page-builder-ee]
  • [https://github.com/magento/security-package]
  • [https://github.com/magento/adobe-stock-integration]
  • [https://github.com/magento/adobe-ims>

Steps to reproduce (*)

Run Magento MFTF  tests on PHP8.1 (E_ALL error reporting level).

Expected result (*)

No errors and failures, all builds are green on 7.4, 8.0 and 8.1

Metadata

Metadata

Assignees

Labels

Priority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Priority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneProject: Platform Health

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions