From 6c9c3b130e68a30d31f0366e2bf2a642f6c7a447 Mon Sep 17 00:00:00 2001
From: Oleh Posyniak <oposyniak@magento.com>
Date: Fri, 30 Dec 2016 15:15:33 +0200
Subject: [PATCH] MAGETWO-62655: [GitHub] CLI won't work without write
 permissions #7933

---
 lib/internal/Magento/Framework/Console/Cli.php | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/internal/Magento/Framework/Console/Cli.php b/lib/internal/Magento/Framework/Console/Cli.php
index 38018a7c096..87946352ecc 100644
--- a/lib/internal/Magento/Framework/Console/Cli.php
+++ b/lib/internal/Magento/Framework/Console/Cli.php
@@ -218,8 +218,10 @@ class Cli extends Console\Application
             } catch (\Magento\Framework\Exception\FileSystemException $e) {
                 $output = new \Symfony\Component\Console\Output\ConsoleOutput();
                 $output->writeln(
-                    '<error>Command line user does not have read and write permissions on var/generation directory.  Please'
-                    . ' address this issue before using Magento command line.</error>'
+                    '<error>'
+                    . 'Command line user does not have read and write permissions on var/generation directory.  Please'
+                    . ' address this issue before using Magento command line.'
+                    . '</error>'
                 );
 
                 exit(static::RETURN_FAILURE);
-- 
GitLab