Skip to content

Add new sniff Magento2.Functions.DeprecatedFunction into magento-coding-standard #34547

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 new sniff for functions

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

ToDo:
Add sniff to 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