mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
parent
8dda8a0ee4
commit
f3b605e442
@ -731,11 +731,14 @@ class Analyzer
|
||||
foreach ($all_deep_scanned_files as $file_path => $_) {
|
||||
if (isset($this->mixed_counts[$file_path])) {
|
||||
list($path_mixed_count, $path_nonmixed_count) = $this->mixed_counts[$file_path];
|
||||
|
||||
if ($path_mixed_count + $path_nonmixed_count) {
|
||||
$stats .= number_format(100 * $path_nonmixed_count / ($path_mixed_count + $path_nonmixed_count), 0)
|
||||
. '% ' . $this->config->shortenFileName($file_path)
|
||||
. ' (' . $path_mixed_count . ' mixed)' . "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $stats;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user