original_string: public function releaseStart($options = ['semversion' => null, 'type' => 'minor'])
      {
          if (empty($options['semversion'])) {
              $version = $this->getVersion()
                  ->increment($options['type']);
          } else {
              $version = $options['semversion'];
          }
          return $this->taskReleaseStart((string)$version)->run();
      }
code: public function releaseStart($options = ['semversion' => null, 'type' => 'minor'])
      {
          if (empty($options['semversion'])) {
              $version = $this->getVersion()
                  ->increment($options['type']);
          } else {
              $version = $options['semversion'];
          }
          return $this->taskReleaseStart((string)$version)->run();
      }
code_tokens: public function releaseStart ( $ options = [ 'semversion' => null , 'type' => 'minor' ] ) { if ( empty ( $ options [ 'semversion' ] ) ) { $ version = $ this -> getVersion ( ) -> increment ( $ options [ 'type' ] ) ; } else { $ version = $ options [ 'semversion' ] ; } return $ this -> taskReleaseStart ( ( string ) $ version ) -> run ( ) ; }
docstring: Start a new release
  
  @option string $semversion Version number
  @option string $type    Relase type (minor, major)
docstring_tokens: Start a new release