Skip to content

Magento 2 coding standards phpcs giving , ERROR: Referenced sniff “PHPCompatibility.FunctionUse.RemovedFunctions” does not exist

when I am running the command to check phpcs issues,

 vendor/bin/phpcs --standard=Magento2 /filepath/


    ERROR: Referenced sniff "PHPCompatibility.FunctionUse.RemovedFunctions" does not exist
    Run "phpcs --help" for usage information

how to fix this?