Gitlab: extract full branchname when containing slashes
- convert deprecated split() function into explode() (same parameters)
 - use the limit parameter set to 3, to return an array of at most 3 strings,
   the last one containing everything after the second slash

Example:
'refs/heads/issue/branch-description' => ['refs', 'heads', 'issue/branch-description']

Fixes #122

Signed-off-by: Damien Regad <dregad@mantisbt.org>
1 parent 6d65382 commit dd6bcc6b7672d63bb9886ca0e8abe0ea50feb823
@Sébastien Rombauts Sébastien Rombauts authored on 20 Apr 2015
Damien Regad committed on 21 Apr 2015
Showing 1 changed file
View
SourceGitlab/SourceGitlab.php