Open
Description
Preconditions
- Magento 2.4.5-p1
- Magento Coding Standard, 26
Steps to reproduce
- Create a file, where you include
\Zend_Filter_Interface
in the constructor - Run
vendor/bin/phpcs --standard=dev/tests/static/framework/Magento
on that file.
Expected result
RestrictedCodeSniff
should suggest a class, which exists in a clean Magento instance
Actual result
- The following error comes up:
ERROR | Class 'Zend_Filter_Interface' is restricted in XXX. Suggested replacement: Laminas\Filter\FilterInterface