Skip to content

Refactor codebase to fix problem of reserved keyword "match" for PHP 8 #33626

Closed
@andrewbess

Description

@andrewbess

Description (*)

Magento has places where use keyword "match" that is reserved PHP from version 8 according to this document.
These is classes provided below
app/code/Magento/CustomerSegment/Controller/Adminhtml/Index/Match.php
app/code/Magento/Elasticsearch/SearchAdapter/Query/Builder/Match.php
lib/internal/Magento/Framework/Search/Request/Query/Match.php

Using this keyword as class name makes unpossible compatible with PHP 8.

We need eliminate this problem.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions