private function handleOpenTagNotFirstStatement(File $phpcsFile, int $stackPtr): void
    {
        $fixNotFirstStatement = $phpcsFile->addFixableError(
            self::ERROR_NOT_FIRST_STATEMENT,
            $stackPtr,
            static::CODE_NOT_FIRST_STATEMENT
        );

        if ($fixNotFirstStatement) {
            $phpcsFile->fixer->beginChangeset();
            for ($i = 0; $i < $stackPtr; $i++) {
                $phpcsFile->fixer->replaceToken($i, '');
            }
            $phpcsFile->fixer->endChangeset();
        }
    }