Skip to content

How to fix Referenced sniff “PHPCompatibility.FunctionUse.RemovedFunctions” does not exist with PHP8.1

For php8.1 and with the latest Magento coding standards we are facing below error while running the static test from CLI and PHPStorm

ERROR: Referenced sniff “PHPCompatibility.FunctionUse.RemovedFunctions” does not exist