From 2fc11229d69b1dcff5b7d40b9ce802815c1ac090 Mon Sep 17 00:00:00 2001 From: pathumhdes Date: Mon, 20 Apr 2020 08:03:31 +0530 Subject: [PATCH] PHP 7.4 compatibility issue fix: Passing the and parameters in reverse order to implode has been deprecated since PHP 7.4 --- lib/Doctrine/Export/Mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Export/Mysql.php b/lib/Doctrine/Export/Mysql.php index afa3b9b87..097f68776 100644 --- a/lib/Doctrine/Export/Mysql.php +++ b/lib/Doctrine/Export/Mysql.php @@ -524,7 +524,7 @@ public function createSequence($sequenceName, $start = 1, array $options = array try { $query = 'CREATE TABLE ' . $sequenceName . ' (' . $seqcolName . ' BIGINT NOT NULL AUTO_INCREMENT, PRIMARY KEY (' - . $seqcolName . ')) ' . implode($optionsStrings, ' '); + . $seqcolName . ')) ' . implode(' ', $optionsStrings); $res = $this->conn->exec($query); } catch(Doctrine_Connection_Exception $e) {