dev/src/ReleaseBuilder/ReleaseBuilder.php
private function getOrgAndRepo(array $composer)
    {
        $target = $composer['target'];

        $matches = [];
        preg_match(self::TARGET_REGEX, $target, $matches);

        $org = $matches[1];
        $repo = $matches[2];

        return [$org, $repo];
    }
private function getOrgAndRepo(array $composer)
    {
        $target = $composer['target'];

        $matches = [];
        preg_match(self::TARGET_REGEX, $target, $matches);

        $org = $matches[1];
        $repo = $matches[2];

        return [$org, $repo];
    }
private function getOrgAndRepo ( array $ composer ) { $ target = $ composer [ 'target' ] ; $ matches = [ ] ; preg_match ( self :: TARGET_REGEX , $ target , $ matches ) ; $ org = $ matches [ 1 ] ; $ repo = $ matches [ 2 ] ; return [ $ org , $ repo ] ; }
Parse the organization and repo from a composer file.

@param array $composer
@return array [$org, $repo]
Parse the organization and repo from a composer file .