Skip to content

[MFTF] Investigate and fix code affected by saner string to number comparisons #33780

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:

  • Non-strict comparisons between numbers and non-numeric strings now work by casting the number to string and comparing the strings. Comparisons between
    numbers and numeric strings continue to work as before. Notably, this means that 0 == "not-a-number" is considered false now.
    RFC: https://wiki.php.net/rfc/string*to_number*comparison
  • Fix code affected by saner string to number comparisons

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions