@@ -82,9 +82,9 @@ discard block |
||
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 |
||
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 |
||
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 |