code: protected function applyFix(\SplFileInfo $file, Tokens $tokens)
      {
          for ($index = 0, $limit = $tokens->count(); $index < $limit; ++$index) {
              $token = $tokens[$index];
  
              if (!$token->isGivenKind(T_NAMESPACE)) {
                  continue;
              }
  
              $this->fixLinesBeforeNamespace($tokens, $index, 0, 1);
          }
      }
docs: {@inheritdoc}