Completed
Branch master (5f939e)
by juan
02:58
created
src/Juanber84/Console/Application.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Juanber84\Console;
4 4
 
5
-use Juanber84\Console\Command\BatchProcessCommand;
6 5
 use Juanber84\Console\Command\SelfUpdateCommand;
7 6
 use Juanber84\Services\ApplicationService;
8 7
 use Juanber84\Services\GitHubService;
Please login to merge, or discard this patch.
src/Juanber84/Console/Command/AddProjectsCommand.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,9 @@
 block discarded – undo
41 41
 
42 42
         $db = file_get_contents($_SERVER['HOME'].'/'.self::DIRECTORY.'/'.self::DB);
43 43
         $jsonDb = json_decode($db,true);
44
-        if (is_null($jsonDb)) $jsonDb = array();
44
+        if (is_null($jsonDb)) {
45
+            $jsonDb = array();
46
+        }
45 47
 
46 48
         if (array_key_exists($nameOfProject,$jsonDb)) {
47 49
             $question = new ConfirmationQuestion('<error>This project exist. Do you want override it?</error> <info>Y/n</info> ', false);
Please login to merge, or discard this patch.