code: protected function applyFix(\SplFileInfo $file, Tokens $tokens)
      {
          $i = \count($tokens);
  
          while ($i--) {
              $token = $tokens[$i];
  
              if (!$token->isGivenKind(T_OPEN_TAG_WITH_ECHO)) {
                  continue;
              }
  
              $nextIndex = $i + 1;
  
              $tokens[$i] = new Token([T_OPEN_TAG, '<?php ']);
  
              if (!$tokens[$nextIndex]->isWhitespace()) {
                  $tokens->insertAt($nextIndex, new Token([T_WHITESPACE, ' ']));
              }
  
              $tokens->insertAt($nextIndex, new Token([T_ECHO, 'echo']));
          }
      }
docs: {@inheritdoc}