Skip to content

Add functions to sniff Magento2.Functions.DiscouragedFunction of the magento-coding-standard #34548

Closed
@andrewbess

Description

@andrewbess

Description (*)

The RFC proposes to deprecate the listed functionality in PHP 8.1 and remove it in PHP 9 - PHP RFC: Deprecations for PHP 8.1
We need to add deprecated functions into sniff Magento2.Functions.DiscouragedFunction for functions from RFC exclude of

  • mb_check_encoding() without argument
  • get_class(), get_parent_class() and get_called_class() without argument - if it needed

ToDo:
Fixed sniff Magento2.Functions.DiscouragedFunction in magento-codding-standard

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions