code: protected function applyFix(\SplFileInfo $file, Tokens $tokens)
      {
          foreach ($this->findCurlyBraceOpen($tokens) as $index) {
              if ($this->isOverComplete($tokens, $index)) {
                  $this->clearOverCompleteBraces($tokens, $index, $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $index));
              }
          }
      }
docs: {@inheritdoc}