Completed
Push — master ( 42a65f...494029 )
by Lorenzo
07:08
created
src/ComposerSecurityCheck.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -82,9 +82,9 @@  discard block
 block discarded – undo
82 82
     private function hardWork($argument, $option)
83 83
     {
84 84
         $path = $argument['path'];
85
-        $this->line('path: <info>' . $path . '</info>.\nCheck composer.lock files...');
85
+        $this->line('path: <info>'.$path.'</info>.\nCheck composer.lock files...');
86 86
         $lockFiles = $this->findFilesComposerLock($path);
87
-        $this->line('Find <info>' . count($lockFiles) . '</info> composer.lock files.');
87
+        $this->line('Find <info>'.count($lockFiles).'</info> composer.lock files.');
88 88
 
89 89
         $this->tableVulnerabilities = [];
90 90
         $tuttoOk = true;
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
         foreach ($lockFiles as $fileLock) {
96 96
 
97
-            $this->line("Analizing <info>" . ($numLock + 1) . "</info> di <info>" . count($lockFiles) . "</info>");
97
+            $this->line("Analizing <info>".($numLock + 1)."</info> di <info>".count($lockFiles)."</info>");
98 98
 
99 99
             $tuttoOk = $this->checkFile($fileLock, $whitelist);
100 100
 
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
         if (count($response) == 0) {
204 204
             return true;
205 205
         }
206
-        $this->error("Trovate " . count($response) . " vulnerabilita' in $fileLock");
206
+        $this->error("Trovate ".count($response)." vulnerabilita' in $fileLock");
207 207
 
208 208
         $tuttoOk = in_array(rtrim(str_replace('\\', '/', $fileLock), 'composer.lock'), $whitelist);
209 209
 
Please login to merge, or discard this patch.