src/Composer/Repository/Vcs/SvnDriver.php
public function getTags()
    {
        if (null === $this->tags) {
            $this->tags = array();

            if ($this->tagsPath !== false) {
                $output = $this->execute('svn ls --verbose', $this->baseUrl . '/' . $this->tagsPath);
                if ($output) {
                    foreach ($this->process->splitLines($output) as $line) {
                        $line = trim($line);
                        if ($line && preg_match('{^\s*(\S+).*?(\S+)\s*$}', $line, $match)) {
                            if (isset($match[1]) && isset($match[2]) && $match[2] !== './') {
                                $this->tags[rtrim($match[2], '/')] = $this->buildIdentifier(
                                    '/' . $this->tagsPath . '/' . $match[2],
                                    $match[1]
                                );
                            }
                        }
                    }
                }
            }
        }

        return $this->tags;
    }
public function getTags()
    {
        if (null === $this->tags) {
            $this->tags = array();

            if ($this->tagsPath !== false) {
                $output = $this->execute('svn ls --verbose', $this->baseUrl . '/' . $this->tagsPath);
                if ($output) {
                    foreach ($this->process->splitLines($output) as $line) {
                        $line = trim($line);
                        if ($line && preg_match('{^\s*(\S+).*?(\S+)\s*$}', $line, $match)) {
                            if (isset($match[1]) && isset($match[2]) && $match[2] !== './') {
                                $this->tags[rtrim($match[2], '/')] = $this->buildIdentifier(
                                    '/' . $this->tagsPath . '/' . $match[2],
                                    $match[1]
                                );
                            }
                        }
                    }
                }
            }
        }

        return $this->tags;
    }
public function getTags ( ) { if ( null === $ this -> tags ) { $ this -> tags = array ( ) ; if ( $ this -> tagsPath !== false ) { $ output = $ this -> execute ( 'svn ls --verbose' , $ this -> baseUrl . '/' . $ this -> tagsPath ) ; if ( $ output ) { foreach ( $ this -> process -> splitLines ( $ output ) as $ line ) { $ line = trim ( $ line ) ; if ( $ line && preg_match ( '{^\s*(\S+).*?(\S+)\s*$}' , $ line , $ match ) ) { if ( isset ( $ match [ 1 ] ) && isset ( $ match [ 2 ] ) && $ match [ 2 ] !== './' ) { $ this -> tags [ rtrim ( $ match [ 2 ] , '/' ) ] = $ this -> buildIdentifier ( '/' . $ this -> tagsPath . '/' . $ match [ 2 ] , $ match [ 1 ] ) ; } } } } } } return $ this -> tags ; }
{@inheritDoc}
{