public function process(File $phpcsFile, $stackPtr)
    {
        $tokens = $phpcsFile->getTokens();

        $error   = 'Use of the "%s" keyword is forbidden';
        $data    = [$tokens[$stackPtr]['content']];

        $phpcsFile->addError($error, $stackPtr, 'NotAllowed', $data);
        $phpcsFile->recordMetric($stackPtr, 'Abstract or protected used', 'yes');
    }
public function process(File $phpcsFile, $stackPtr)
    {
        $tokens = $phpcsFile->getTokens();

        $error   = 'Use of the "%s" keyword is forbidden';
        $data    = [$tokens[$stackPtr]['content']];

        $phpcsFile->addError($error, $stackPtr, 'NotAllowed', $data);
        $phpcsFile->recordMetric($stackPtr, 'Abstract or protected used', 'yes');
    }
{@inheritdoc}