From ae11b1de4ab4bebdc2292cc52b341f676ce846b9 Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Thu, 27 Oct 2011 23:00:14 +0200 Subject: [PATCH] split() is deprecated in php 5.3 --- src/IDF/Scm/Git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Scm/Git.php b/src/IDF/Scm/Git.php index b0f7b76..d84ba84 100644 --- a/src/IDF/Scm/Git.php +++ b/src/IDF/Scm/Git.php @@ -87,7 +87,7 @@ class IDF_Scm_Git extends IDF_Scm $filename = trim(substr($line, 1)); $return->patches[] = $filename; } else if ($action == 'R') { - $matches = split ("\t", $line); + $matches = preg_split("/\t/", $line); $return->renames[$matches[1]] = $matches[2]; } }