Skip to content

RestrictedCodeSniff suggests Laminas\Filter\FilterInterface, which is not required by Magento 2.4.5-p1 anymore #428

Open
@norgeindian

Description

@norgeindian

Preconditions

  1. Magento 2.4.5-p1
  2. Magento Coding Standard, 26

Steps to reproduce

  1. Create a file, where you include \Zend_Filter_Interface in the constructor
  2. Run vendor/bin/phpcs --standard=dev/tests/static/framework/Magento on that file.

Expected result

  1. RestrictedCodeSniff should suggest a class, which exists in a clean Magento instance

Actual result

  1. The following error comes up: ERROR | Class 'Zend_Filter_Interface' is restricted in XXX. Suggested replacement: Laminas\Filter\FilterInterface

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions