From 63e3d997a10001f08e9f0d944ccf62a06c975d3a Mon Sep 17 00:00:00 2001 From: Zollner Robert Date: Sun, 13 Nov 2016 01:45:54 +0200 Subject: [PATCH] Do not use the short syntax for arrays --- src/Git/Repository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Git/Repository.php b/src/Git/Repository.php index 87ba6ef..780f2c8 100644 --- a/src/Git/Repository.php +++ b/src/Git/Repository.php @@ -54,7 +54,7 @@ class Repository extends BaseRepository . "\" $file" ); - $patch_collection = []; + $patch_collection = array(); foreach ( preg_split('/('.$record_delimiter.'\)/', $file_patches,null, PREG_SPLIT_NO_EMPTY) as $patches) { $patches = '' . $patches; $xmlEnd = strpos($patches, '') + 7;