original_string: public static function migrateUp(Event $event)
      {
          $dir = self::getRootDir().'DoctrineMigrations';
          if (self::isHaveMigrations($dir)) {
              self::repackMigrations($dir);
              self::executeCommand('doctrine:migrations:migrate --no-interaction', $event->getIO());
          }
      }
code: public static function migrateUp(Event $event)
      {
          $dir = self::getRootDir().'DoctrineMigrations';
          if (self::isHaveMigrations($dir)) {
              self::repackMigrations($dir);
              self::executeCommand('doctrine:migrations:migrate --no-interaction', $event->getIO());
          }
      }
code_tokens: public static function migrateUp ( Event $ event ) { $ dir = self :: getRootDir ( ) . 'DoctrineMigrations' ; if ( self :: isHaveMigrations ( $ dir ) ) { self :: repackMigrations ( $ dir ) ; self :: executeCommand ( 'doctrine:migrations:migrate --no-interaction' , $ event -> getIO ( ) ) ; } }
docstring: Migrate all plugins to up.
  
  @param Event $event
docstring_tokens: Migrate all plugins to up .